Skip to content

Commit

Permalink
falseys ok
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Jul 20, 2014
1 parent c99dca5 commit 22dbd94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports.quote = function (xs) {
return '"' + s.replace(/(["\\$`(){}!#&*|])/g, '\\$1') + '"';
}
else {
return s.toString().replace(/([\\$`(){}!#&*|])/g, '\\$1');
return String(s).replace(/([\\$`(){}!#&*|])/g, '\\$1');
}
}).join(' ');
};
Expand Down

0 comments on commit 22dbd94

Please sign in to comment.