Skip to content

Commit

Permalink
spread arguments to external commands (#57)
Browse files Browse the repository at this point in the history
related to
- nushell/nushell#11289

## Description
this should fix the deprecation warning that we get these days
  • Loading branch information
amtoine authored Jan 20, 2024
1 parent e46e2a9 commit 66e2eaa
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 66e2eaa

Please sign in to comment.