diff --git a/bin/vuepress.js b/bin/vuepress.js index 00ea5bdfe2..1f6c35da3e 100755 --- a/bin/vuepress.js +++ b/bin/vuepress.js @@ -103,6 +103,7 @@ function wrapCommand (fn) { return (...args) => { return fn(...args).catch(err => { console.error(chalk.red(err.stack)) + process.exitCode = 1 }) } }