Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use weak equality check so we can colorize null in safe mode
  • Loading branch information
DABH committed Aug 22, 2018
1 parent 2631877 commit 654f2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/colors.js
Expand Up @@ -105,7 +105,7 @@ function applyStyle() {
var args = Array.prototype.slice.call(arguments);

var str = args.map(function(arg) {
if (arg !== undefined && arg.constructor === String) {
if (arg != undefined && arg.constructor === String) {
return arg;
} else {
return util.inspect(arg);
Expand Down

0 comments on commit 654f2b6

Please sign in to comment.