Skip to content

Commit 3c0f3da

Browse files
authored
Merge pull request #279 from oncletom/patch-1
Add %O formatter to reflect Chrome's console.log capability
2 parents 39ecd87 + 7748e50 commit 3c0f3da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var inspect = (4 === util.inspect.length ?
6868
}
6969
);
7070

71-
exports.formatters.o = function(v) {
71+
exports.formatters.o = exports.formatters.O = function(v) {
7272
return inspect(v, this.useColors)
7373
.replace(/\s*\n\s*/g, ' ');
7474
};

0 commit comments

Comments
 (0)