Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor suite-setup-util to avoid knock on errors.
This is a small refactor that does a few things: * migrate the manual promise chaining to async/await * unify the error handling (so that it is all done in the same way) * migrate from `process.stderr.write` to `console.error` (`process.stderr.write` only accepts a string or buffer, if you pass it an instance of `Error` you get an error that actually masks the _real_ error) * migrate to `process.exitCode` instead of `process.exit` (forcing exit with `process.exit()` _in general_ should be avoided, and doesn't seem required in this context)
- Loading branch information