Skip to content
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

On validate/lint errors the plugin crashes #25

Open
exoszajzbuk opened this issue Sep 30, 2020 · 2 comments
Open

On validate/lint errors the plugin crashes #25

exoszajzbuk opened this issue Sep 30, 2020 · 2 comments

Comments

@exoszajzbuk
Copy link

exoszajzbuk commented Sep 30, 2020

if you run Lint, Validate, etc commands and there are any validation/lint errors the plugin crashes with "range" being undefined

Screenshot 2020-09-30 at 21 03 50

pointing to this line of code https://github.com/Mermade/openapi-lint-vscode/blob/v1.2.0/extension.js#L148

OS: MacOS 10.15.6

VSCode:

Version: 1.49.2
Commit: e5e9e69aed6e1984f7499b7af85b3d05f9a6883a
Date: 2020-09-24T16:23:52.277Z (6 days ago)
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 19.6.0

Plugin: 1.2.0

@MikeRalphson
Copy link
Contributor

Thanks for reporting. Will update my vscode and try to reproduce.

@bjorn-einar-bjartnes-4ss

I see the issue I reported is a duplicate of this, I have a machine where I can reproduce and also a proposed "workaround" in #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants