You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gulp will return an exit code of zero even when one of the Install-NugetPackage-calls fails, the user doesn't have administrative privileges to run the script etc.
The text was updated successfully, but these errors were encountered:
uli-weltersbach
changed the title
Return non-zero exit code from failing PowerShell scripts
Fail Gulp task if PowerShell scripts fails
Jul 14, 2017
uli-weltersbach
changed the title
Fail Gulp task if PowerShell scripts fails
Fail Gulp task if PowerShell scripts fail
Jul 14, 2017
If the task had returned a proper error code it would have saved me 2 full days of work looking for all kinds of other errors. :-(
Please fix @Hafeok so others don't have to do the same.
When a Gulp-task calls a PowerShell script, ensure a non-zero exit code causes the Gulp-script to fail.
E.g. Install-Packages.ps1:
Gulp will return an exit code of zero even when one of the
Install-NugetPackage
-calls fails, the user doesn't have administrative privileges to run the script etc.The text was updated successfully, but these errors were encountered: