Skip to content

Commit

Permalink
FIX: use ms instead of no min unit
Browse files Browse the repository at this point in the history
  • Loading branch information
royriojas committed Jan 4, 2017
1 parent 2a2cfb3 commit 49544d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ module.exports = {
} );

cmdManager.on( 'command:error', function ( e, args ) {
program.subtle( 'command error', args, 'duration: ', pretty( args.duration, 's' ) );
program.subtle( 'command error', args, 'duration: ', pretty( args.duration, 'ms' ) );
} );

cmdManager.on( 'command:exit', function ( e, args ) {
program.subtle( 'command', args.cmd, 'exited with code', args.exitCode + ', took: ', pretty( args.duration ) );
program.subtle( 'command', args.cmd, 'exited with code', args.exitCode + ', took: ', pretty( args.duration, 'ms' ) );
if ( opts.sortOutput ) {
args.stdout && console.log( args.stdout );
args.stderr && console.error( args.stderr );
Expand Down

0 comments on commit 49544d7

Please sign in to comment.