diff --git a/lib/sys.js b/lib/sys.js index c3b5d61304..d4e601450b 100644 --- a/lib/sys.js +++ b/lib/sys.js @@ -171,7 +171,7 @@ exports.inspect = function (obj, showHidden, depth) { },0); if (length > 50) { - output = braces[0] + (base === '' ? '' : base + '\n,') + ' ' + output.join('\n, ') + (numLinesEst > 1 ? '\n' : ' ') + braces[1]; + output = braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join('\n, ') + (numLinesEst > 1 ? '\n' : ' ') + braces[1]; } else { output = braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];