-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standard v1.39.0 breaks Extension #26
Comments
Does this happen for every project / situation? I can't reproduce it. (In addition to vscode/ruby/standard versions, it could be caused by a VS Code setting or only if you're launching via |
It happened after that standard upgrade and restarting VSCode and downgrading resolved the issue. It happens for a few people on our team. I typically use standard:
testdouble.vscode-standard-ruby:
Ruby:
VSCode:
I'll see if I can come up with something reproducible. |
Okay, I'm able to repro with this minimal setup: https://github.com/skovy/vscode-standard-ruby-repro. It has the I think the key is the |
A-ha, Would you be willing to try to debug / bisect? |
I can spend a bit of time on it, what is the most useful information or what debugging did you have in mind? |
@skovy specifically, (1) what commit introduced the error (if able to run standard from source using |
83b5d19407dae2f875116148b6d26f7287ec71ce works as expected, e4fe4d1e7dcef28cdb80f732092dc84dded31bb5 does not. I spent some time trying to debug but wasn't able to make much progress. |
Huh, I wonder if maybe these options clearing out |
I wonder if it's the same portion of code that handle |
I ran into a similar problem but for me it was |
@patbenatar that actually makes sense. Opened standardrb/standard#638 |
1.39.1 should fix this |
After upgrading from
1.37.0
to1.39.0
and killing/restarting VSCode, using this extension has started throwing the following error any time trying to format a file.The text was updated successfully, but these errors were encountered: