Skip to content

Commit

Permalink
move ms to the last place
Browse files Browse the repository at this point in the history
  • Loading branch information
gorangajic committed Aug 25, 2015
1 parent fefdae5 commit 5b145d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ exports.formatters.o = function(v) {
*/

function formatArgs() {
var args = arguments;
var args = Array.prototype.slice.call(arguments);
var useColors = this.useColors;
var name = this.namespace;

Expand All @@ -89,8 +89,8 @@ function formatArgs() {

args[0] = ' \u001b[3' + c + ';1m' + name + ' '
+ '\u001b[0m'
+ args[0] + '\u001b[3' + c + 'm'
+ ' +' + exports.humanize(this.diff) + '\u001b[0m';
+ args[0];
args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m');
} else {
args[0] = new Date().toUTCString()
+ ' ' + name + ' ' + args[0];
Expand Down

0 comments on commit 5b145d5

Please sign in to comment.