diff --git a/src/linters/rubocop.js b/src/linters/rubocop.js index b3b51354..1b582e0c 100644 --- a/src/linters/rubocop.js +++ b/src/linters/rubocop.js @@ -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, });