diff --git a/bin/serverless.js b/bin/serverless.js index 4e3b860234e..104e3e659d4 100755 --- a/bin/serverless.js +++ b/bin/serverless.js @@ -14,7 +14,8 @@ const userNodeVersion = Number(process.version.split('.')[0].slice(1)); if (userNodeVersion >= 8) { const serverlessCli = require('@serverless/cli'); if (serverlessCli.runningComponents()) { - return serverlessCli.runComponents(); + serverlessCli.runComponents(); + return; } } Error.stackTraceLimit = Infinity;