diff --git a/packages/language-server-ruby/src/formatters/RuboCop.ts b/packages/language-server-ruby/src/formatters/RuboCop.ts index 3655551e..cdb030e6 100644 --- a/packages/language-server-ruby/src/formatters/RuboCop.ts +++ b/packages/language-server-ruby/src/formatters/RuboCop.ts @@ -13,7 +13,7 @@ export default class RuboCop extends BaseFormatter { get args(): string[] { const documentPath = URI.parse(this.document.uri); - const args = ['-s', `'${documentPath.fsPath}'`, '-a']; + const args = ['-s', documentPath.fsPath, '-a']; return args; }