We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffeba27 commit 855e342Copy full SHA for 855e342
lib/colors.js
@@ -105,7 +105,7 @@ function applyStyle() {
105
var args = Array.prototype.slice.call(arguments);
106
107
var str = args.map(function(arg) {
108
- return typeof arg === 'object' ? util.inspect(arg) : arg;
+ return arg.constructor === String ? arg : util.inspect(arg);
109
}).join(' ');
110
111
if (!colors.enabled || !str) {
0 commit comments