From 66e2eaa848e3f72c1b4a841f26f4dc7efc4fedb9 Mon Sep 17 00:00:00 2001 From: Antoine Stevan <44101798+amtoine@users.noreply.github.com> Date: Sat, 20 Jan 2024 16:12:45 +0100 Subject: [PATCH] spread arguments to external commands (#57) related to - https://github.com/nushell/nushell/pull/11289 ## Description this should fix the deprecation warning that we get these days --- 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)'