Skip to content

Commit

Permalink
Make linted paths implicit for RuboCop (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Orner authored Feb 24, 2020
1 parent f1daaf4 commit dec728d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linters/rubocop.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class RuboCop {
}

const fixArg = fix ? "--auto-correct" : "";
return run(`rubocop --format json ${fixArg} ${args} "."`, {
return run(`rubocop --format json ${fixArg} ${args}`, {
dir,
ignoreErrors: true,
});
Expand Down

0 comments on commit dec728d

Please sign in to comment.