From 2e0d19dff46b9bbe344d0b01c9c069e62e23ea42 Mon Sep 17 00:00:00 2001 From: Tom Chen Date: Sat, 10 Feb 2018 22:58:08 +0800 Subject: [PATCH] fix(cmd): return promise in async function --- src/cmd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd.js b/src/cmd.js index fa69068..5d99e6e 100755 --- a/src/cmd.js +++ b/src/cmd.js @@ -75,7 +75,7 @@ async function init () { if (argv.version) { return runVersion() } - runThanks(cwd, argv.open) + return runThanks(cwd, argv.open) } function runHelp () {