From 07abeade0c22a842c46948d38d437b9758a2f6bd Mon Sep 17 00:00:00 2001 From: Lucas David Traverso Date: Thu, 9 Nov 2017 01:28:51 -0300 Subject: [PATCH] Return future value from run command --- packages/neutrino/bin/execute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/neutrino/bin/execute.js b/packages/neutrino/bin/execute.js index 0124027d1..db22f4c26 100644 --- a/packages/neutrino/bin/execute.js +++ b/packages/neutrino/bin/execute.js @@ -17,7 +17,7 @@ module.exports = (middleware, args) => { throw new Error(`A command with the name "${commandName}" was not registered`); } - command(config, api); + return command(config, api); }, errorsHandler() { if (!args.quiet) {