generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Don't exit synchronously when there still might be async I/O (#90)
See https://nodejs.org/api/process.html#processexitcode for an explanation of process.exit and process.exitCode and https://nodejs.org/api/process.html#a-note-on-process-io for an explanation when I/O might be sync or async. Additionally writes a newline after format "json" has been written. This prevents strange behavior in at least zsh when output is not terminated by a newline.
- Loading branch information
1 parent
9720b61
commit fd9b7b9
Showing
2 changed files
with
13 additions
and
6 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