Skip to content

Commit

Permalink
The build will no longer be corrupted by a user's powershell profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
idavis committed Mar 9, 2018
1 parent cd93e75 commit 964b2d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ if "%1" EQU "-h" goto get-help
if "%1" EQU "-help" goto get-help
if "%1" EQU "--help" goto get-help

powershell -command ".\build.ps1 %*; exit $LASTEXITCODE"
powershell -noprofile -command ".\build.ps1 %*; exit $LASTEXITCODE"
exit /b %ERRORLEVEL%

:get-help
powershell -command "Get-Help .\build.ps1"
powershell -noprofile -command "Get-Help .\build.ps1"

0 comments on commit 964b2d3

Please sign in to comment.