From dd98d1478413487c352d2182975fecc6132fa275 Mon Sep 17 00:00:00 2001 From: ULIVZ <472590061@qq.com> Date: Wed, 28 Nov 2018 00:52:40 +0800 Subject: [PATCH] chore: tweaks --- packages/@vuepress/cli/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@vuepress/cli/index.js b/packages/@vuepress/cli/index.js index 2dd4e2d7ea..d0627b3900 100644 --- a/packages/@vuepress/cli/index.js +++ b/packages/@vuepress/cli/index.js @@ -56,7 +56,7 @@ exports.bootstrap = function ({ silent } = options logger.setOptions({ logLevel: silent ? 1 : debug ? 4 : 3 }) - logger.debug('options', options) + logger.debug('cli_options', options) env.setOptions({ isDebug: debug, isTest: process.env.NODE_ENV === 'test' }) wrapCommand(dev)(path.resolve(sourceDir), { @@ -86,7 +86,7 @@ exports.bootstrap = function ({ silent } = options logger.setOptions({ logLevel: silent ? 1 : debug ? 4 : 3 }) - logger.debug('options', options) + logger.debug('cli_options', options) env.setOptions({ isDebug: debug, isTest: process.env.NODE_ENV === 'test' }) wrapCommand(build)(path.resolve(sourceDir), {