ios-control / ios-sim

Command-line application launcher for the iOS Simulator
Apache License 2.0
1.49k stars 253 forks source link

Remove process.exit when simctl prerequisite does not pass #215

Closed shazron closed 7 years ago

shazron commented 7 years ago

The init() function will return a shell return code. In the CLI context, when the return code is non-zero, it will then call process.exit with that return code.

Since the behaviour has changed, the version is bumped a major so that dependents don't pick this up automatically and encounter unexpected results.

shazron commented 7 years ago

I am in the process of testing this on macOS, Windows 10 and Linux through the CLI context. I'll write up a unit-test for the lib context.