Skip to content

Commit

Permalink
toString is a method, not a global function
Browse files Browse the repository at this point in the history
This fixes #21
  • Loading branch information
leo committed Jun 23, 2016
1 parent 1a17c48 commit 6295c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class Args {
switch (type) {
case String:
case toString:
return ['[value]', toString]
return ['[value]']
break
case Array:
return ['<list>']
Expand Down

0 comments on commit 6295c99

Please sign in to comment.