From cbae6cb984e7c534db3c6667435a36aa4d8e70e6 Mon Sep 17 00:00:00 2001 From: Tulili Date: Wed, 6 Mar 2024 21:42:49 -0300 Subject: [PATCH] fix(script-nu): actually run the closures... --- modules/script-nu/nushell-launcher.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/script-nu/nushell-launcher.nu b/modules/script-nu/nushell-launcher.nu index 9746b1d..9e06724 100755 --- a/modules/script-nu/nushell-launcher.nu +++ b/modules/script-nu/nushell-launcher.nu @@ -2,7 +2,7 @@ def "main" [ yaml_file: string ] { - ($yaml_file | from yaml).scripts | each { - | script | { run-external $script | complete } + ($yaml_file | from yaml).scripts | par-each { + | script | do { run-external $script | complete } } }