Skip to content

Commit

Permalink
Merge pull request #83 from aaarichter/lgtm-fix
Browse files Browse the repository at this point in the history
fix: address ltgm.com & remove superfluous arguments
  • Loading branch information
aaarichter authored Feb 3, 2020
2 parents f3a4e32 + feb4690 commit e7b95a5
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 e7b95a5

Please sign in to comment.