Skip to content

Commit

Permalink
Fix beautify using integer instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorCazanave committed Feb 4, 2020
1 parent 5389001 commit 3131d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ program
.option(
'-b, --beautify <number>', // TODO: Allow string to handle tabs?
'number of spaces to insert white space in JSON/JS files (min: 0, max: 10)',
DEFAULT_BEAUTIFY,
parseInt,
DEFAULT_BEAUTIFY,
)
.option(
'-c, --client <path>',
Expand Down

0 comments on commit 3131d00

Please sign in to comment.