From cd39539440d9064a79c63c7ae6e4b3f855de9e97 Mon Sep 17 00:00:00 2001 From: amtoine Date: Thu, 11 Jan 2024 18:10:15 +0100 Subject: [PATCH] spread arguments to external commands --- nupm/test.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nupm/test.nu b/nupm/test.nu index c1492f3..e4759f1 100644 --- a/nupm/test.nu +++ b/nupm/test.nu @@ -31,7 +31,7 @@ export def main [ print $'Testing package ($pkg_root)' cd $pkg_root - let tests = ^$nu.current-exe [ + let tests = ^$nu.current-exe ...[ --no-config-file --commands 'use tests/ @@ -47,7 +47,7 @@ export def main [ | where ($filter in $it) | par-each {|test| let res = do { - ^$nu.current-exe [ + ^$nu.current-exe ...[ --no-config-file --commands $'use tests/; ($test)'