Skip to content

Commit

Permalink
Remove arguments from Array#pop call (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
joydeep-b authored and sindresorhus committed Oct 16, 2018
1 parent 9127a0c commit 48bc713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = (val, opts, pad) => {
return tokens.indent + value + eol;
}).join('') + tokens.pad + ']';

seen.pop(val);
seen.pop();

return expandWhiteSpace(ret);
}
Expand Down Expand Up @@ -113,7 +113,7 @@ module.exports = (val, opts, pad) => {
return tokens.indent + String(key) + ': ' + value + eol;
}).join('') + tokens.pad + '}';

seen.pop(val);
seen.pop();

return expandWhiteSpace(ret);
}
Expand Down

0 comments on commit 48bc713

Please sign in to comment.