Skip to content

Commit

Permalink
Fix the --no-whitespace flag
Browse files Browse the repository at this point in the history
Closes #4
  • Loading branch information
sindresorhus committed Jul 5, 2022
1 parent 59015f1 commit 1a4ac95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ const cli = meow(`
$ strip-json-comments input.json > output.json
`, {
importMeta: import.meta,
flags: {
whitespace: {
type: 'boolean',
default: true,
},
},
});

function init(data) {
Expand Down

0 comments on commit 1a4ac95

Please sign in to comment.