Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Nov 27, 2018
1 parent 9aafaf5 commit dd98d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@vuepress/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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), {
Expand Down Expand Up @@ -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), {
Expand Down

0 comments on commit dd98d14

Please sign in to comment.