Skip to content
Permalink
Browse files

Fix logger verbose and quiet flags

  • Loading branch information...
jnordberg committed Nov 19, 2018
1 parent 8364ff1 commit 80323847e5da4c0466bd462d3842ab08b1b867f6
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/cli/index.coffee
@@ -61,12 +61,12 @@ main = (argv) ->

if opts.verbose
if '-vv' in argv
logger.transports.cli.level = 'silly'
logger.transports[0].level = 'silly'
else
logger.transports.cli.level = 'verbose'
logger.transports[0].level = 'verbose'

if opts.quiet
logger.transports.cli.quiet = true
logger.transports[0].quiet = true

if cmd
extendOptions cmd.options, globalOptions

0 comments on commit 8032384

Please sign in to comment.
You can’t perform that action at this time.