This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 286
Rubocop requires relative paths #641
Labels
Comments
After debugging further, it appears the problem stems from spaces in the |
That's the wrong formatter if you are using the language server, FYI |
3 tasks
This issue has not had activity for 30 days. It will be automatically closed in 7 days. |
3 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When running a rubocop linter, absolute paths are being passed to the command, causing the underlying command to fail and never return in the Ruby Language Server output panel.
Your environment
vscode-ruby
version: 0.27.0useLanguageServer
is true in your configuration?) trueExpected behavior
I would expect the linter to lint the file.
Actual behavior
The file does not lint, due to absolute paths being passed.
Running the command listed in the output panel
The passed path should be relative:
Relevant settings.json entries
Ruby Language Server output
Relevant Rubocop Info:
From official docs
The text was updated successfully, but these errors were encountered: