File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ describe("util", function()
4545 local command = ' command "path/to/file"'
4646 local output , exit_code = util .execute (command , true )
4747
48- assert .equal ([[ powershell.exe -Command "command 'path/to/file'"]] , output )
48+ assert .equal ([[ powershell.exe -NoProfile - Command "command 'path/to/file'"]] , output )
4949 assert .equal (exit_code , 0 )
5050 end )
5151
@@ -61,7 +61,7 @@ describe("util", function()
6161 local command = " command 'path/to/file'"
6262 local output , exit_code = util .execute (command , true )
6363
64- assert .equal ([[ powershell.exe -Command 'command "path/to/file"']] , output )
64+ assert .equal ([[ powershell.exe -NoProfile - Command 'command "path/to/file"']] , output )
6565 assert .equal (exit_code , 0 )
6666 end )
6767 end )
You can’t perform that action at this time.
0 commit comments