Skip to content

Commit

Permalink
spread arguments to external commands
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Jan 11, 2024
1 parent e46e2a9 commit cd39539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nupm/test.nu
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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)'
Expand Down

0 comments on commit cd39539

Please sign in to comment.