Skip to content

Commit

Permalink
fix typeHint?
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Sep 27, 2016
1 parent a477802 commit 3e0c043
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ exports.stringify = function(value) {
var obj = value;
if (typeof value === 'string' && typeHint === 'object') {
obj = Array.prototype.slice.apply(value);
typeHint = 'array';
}
for (var prop in obj) {
if (Object.prototype.hasOwnProperty.call(obj, prop)) {
Expand Down

0 comments on commit 3e0c043

Please sign in to comment.