Browse Source

dont use blue for numbers in util.inspect

v0.7.4-release
Ryan Dahl 13 years ago
parent
commit
74f39041d4
  1. 3
      lib/util.js

3
lib/util.js

@ -122,9 +122,10 @@ var colors = {
'yellow' : [33, 39] 'yellow' : [33, 39]
}; };
// Don't use 'blue' not visible on cmd.exe
var styles = { var styles = {
'special': 'cyan', 'special': 'cyan',
'number': 'blue', 'number': 'yellow',
'boolean': 'yellow', 'boolean': 'yellow',
'undefined': 'grey', 'undefined': 'grey',
'null': 'bold', 'null': 'bold',

Loading…
Cancel
Save