Skip to content

Commit

Permalink
feat: added support for ignore pattern to cli
Browse files Browse the repository at this point in the history
- Little fix for ordering of parameters

resolves #328
  • Loading branch information
Michał Grzegorzewski committed Nov 23, 2024
1 parent 7565c76 commit 425fe7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ function run() {
for (const argument of cliArguments) {
if (lastArg === '--ignore' || lastArg === '-i') {
ignore.push(argument)
lastArg = undefined
continue
}
if (argument === '--check' || argument === '-c') {
Expand Down

0 comments on commit 425fe7f

Please sign in to comment.