chocolatey-archive/chocolatey

Exceptions raised in chocolateyInstall.ps1 are not resulting in a non-zero exit codes returned from chocolatey

mwrock opened this issue · 2 comments

Exceptions raised in chocolateyInstall.ps1 are not resulting in a non-zero exit code because it is writing to the $chocolateyErrored variable in a different scope from where it was created.

PR #658 should fix this.

Duplicate of #568