-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor:
start()
should throw if filename doesn't exist
BREAKING CHANGE: Error handling for `start` is changing. Since `start` is an `async` function, one would expect to be able to try/catch it. The original version ran any failures through the `quit` method, but it's designed to fail gracefully and work asynchronously by using `'error'` events. This causes weird flow issues if `start` is throwing· because the filename does not exist. This change allows `start` to simply throw. Semver: major Ref: LOG-8030
- Loading branch information
1 parent
279b15e
commit b05648c
Showing
3 changed files
with
42 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters