mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Commas last in sys.inspect
Ugly? Yes. More readable by first time users? Yes.
This commit is contained in:
1 parent
b5359e40be
commit
d164989e3f
1 file changed
+2
-2
+2
-2
@@ -234,8 +234,8 @@ exports.inspect = function (obj, showHidden, depth, colors) {
|
||||
output = braces[0]
|
||||
+ (base === '' ? '' : base + '\n ')
|
||||
+ ' '
|
||||
+ output.join('\n, ')
|
||||
+ (numLinesEst > 1 ? '\n' : ' ')
|
||||
+ output.join(',\n ')
|
||||
+ ' '
|
||||
+ braces[1]
|
||||
;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user