mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Even with $ErrorActionPreference, PowerShell won't automatically fail when an external command fails with an error code. This explicitly checks those exit codes and throws an error when that occurs. Hopefully prevents false successes like that shown in this AppVeyor test run: https://goo.gl/xxRsF9.