Skip to content

Commit

Permalink
feat: improve patch string
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed May 24, 2018
1 parent 1dbadd5 commit 6a25b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safe-to-string.js
Expand Up @@ -7,6 +7,6 @@ module.exports = function (value) {
if (value && isCallable(value.toString)) return value.toString();
return String(value);
} catch (e) {
return "[Non-coercible (to string) value]";
return "<Non-coercible (to string) value>";
}
};

0 comments on commit 6a25b10

Please sign in to comment.