Skip to content

Commit

Permalink
Merge pull request #1977 from ahamid/handle-phantomjs-undefined
Browse files Browse the repository at this point in the history
safely stringify PhantomJS undefined value
  • Loading branch information
danielstjules committed Dec 28, 2015
2 parents d811eb9 + eb7b2c4 commit 0d3321d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ exports.canonicalize = function(value, stack) {
canonicalizedObj = value;
break;
default:
canonicalizedObj = value.toString();
canonicalizedObj = value + '';
}

return canonicalizedObj;
Expand Down

0 comments on commit 0d3321d

Please sign in to comment.