Skip to content

Commit

Permalink
removing process.exit
Browse files Browse the repository at this point in the history
  • Loading branch information
eahefnawy committed Jul 15, 2019
1 parent 2622ace commit 8a40c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/serverless.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const initializeErrorReporter = require('../lib/utils/sentry').initializeErrorRe
if (Number(process.version.split('.')[0].slice(1)) >= 8) {
const componentsCli = require('@serverless/cli');
if (componentsCli.runningComponents()) {
return componentsCli.runComponents().then(() => process.exit(0));
return componentsCli.runComponents();
}
}
Error.stackTraceLimit = Infinity;
Expand Down

0 comments on commit 8a40c45

Please sign in to comment.