Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/box-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,6 @@ class BoxCommand extends Command {
// Write the error message but let the process exit gracefully with error code so stderr gets written out
// @NOTE: Exiting the process in the callback enables tests to mock out stderr and run to completion!
/* eslint-disable no-process-exit,unicorn/no-process-exit */
process.stderr.setEncoding('utf8');
process.stderr.write(errorMsg, () => {
process.exitCode = 2;
});
Expand Down
Loading