File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ if (Test-Path $NPM_PREFIX_NPM_CLI_JS) {
24
24
25
25
# Support pipeline input
26
26
if ($MyInvocation.ExpectingInput ) {
27
- $input | & $NODE_EXE $NPM_CLI_JS $args
27
+ $input | & $NODE_EXE $NPM_CLI_JS -- $args
28
28
} else {
29
- & $NODE_EXE $NPM_CLI_JS $args
29
+ & $NODE_EXE $NPM_CLI_JS -- $args
30
30
}
31
31
32
32
exit $LASTEXITCODE
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ if (Test-Path $NPM_PREFIX_NPX_CLI_JS) {
24
24
25
25
# Support pipeline input
26
26
if ($MyInvocation.ExpectingInput ) {
27
- $input | & $NODE_EXE $NPX_CLI_JS $args
27
+ $input | & $NODE_EXE $NPX_CLI_JS -- $args
28
28
} else {
29
- & $NODE_EXE $NPX_CLI_JS $args
29
+ & $NODE_EXE $NPX_CLI_JS -- $args
30
30
}
31
31
32
32
exit $LASTEXITCODE
You can’t perform that action at this time.
0 commit comments