Skip to content

Commit

Permalink
fix: address ltgm.com & remove superfluous arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Richter committed Feb 3, 2020
1 parent f3a4e32 commit feb4690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/stringify.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ function stringify(data, visitor, indent) {
return 'null';

case 'string':
return visitString(visitNode, indent, node, options);
return visitString(visitNode, indent, node);

case 'object':
if (node === null) {
return 'null';
} else if (Array.isArray(node)) {
return visitArray(visitNode, indent, node, options);
return visitArray(visitNode, indent, node);
}
return visitObject(visitNode, indent, node, options);

Expand Down

0 comments on commit feb4690

Please sign in to comment.