standardrb / vscode-standard-ruby

The official VS Code extension for the Standard Ruby linter and code formatter
Other
101 stars 7 forks source link

Standard gem version issue #25

Open jperna7254 opened 2 months ago

jperna7254 commented 2 months ago
image

I clearly have a version that is higher than 1.24.3 but still complains about the version and will not start

searls commented 2 months ago

…… Seems bad.

searls commented 2 months ago

I won't have a chance to try to repro this myself, but if you can try debugging the extension yourself, the first thing I'd check for is what values are being passed to the semver package's satisfies function:

https://github.com/standardrb/vscode-standard-ruby/blob/0ab12d12e3b46107e267c2cd3309faf4dd7705e1/src/extension.ts#L233-L251

jperna7254 commented 2 months ago

Little more detail, the issue occurs when i use this extension to switch between projects https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager