File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ if ($MyInvocation.Line) { # used "-Command" argument
32
32
$NPM_ARGS = $NPM_OG_COMMAND.Substring ($MyInvocation.InvocationName.Length ).Trim()
33
33
}
34
34
35
+ $NODE_EXE = $NODE_EXE.Replace (" `` " , " ```` " )
36
+ $NPM_CLI_JS = $NPM_CLI_JS.Replace (" `` " , " ```` " )
37
+
35
38
# Support pipeline input
36
39
if ($MyInvocation.ExpectingInput ) {
37
40
$input | Invoke-Expression " & `" $NODE_EXE `" `" $NPM_CLI_JS `" $NPM_ARGS "
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ if ($MyInvocation.Line) { # used "-Command" argument
32
32
$NPX_ARGS = $NPX_OG_COMMAND.Substring ($MyInvocation.InvocationName.Length ).Trim()
33
33
}
34
34
35
+ $NODE_EXE = $NODE_EXE.Replace (" `` " , " ```` " )
36
+ $NPX_CLI_JS = $NPX_CLI_JS.Replace (" `` " , " ```` " )
37
+
35
38
# Support pipeline input
36
39
if ($MyInvocation.ExpectingInput ) {
37
40
$input | Invoke-Expression " & `" $NODE_EXE `" `" $NPX_CLI_JS `" $NPX_ARGS "
You can’t perform that action at this time.
0 commit comments