-
Notifications
You must be signed in to change notification settings - Fork 34
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
refactor: remove deprecations and update them to current API #484
Conversation
# Conflicts: # src/main/kotlin/io/snyk/plugin/settings/SnykProjectSettingsConfigurable.kt # src/main/kotlin/snyk/common/lsp/LanguageServerWrapper.kt
@@ -47,7 +48,7 @@ class SnykCliAuthenticationService(val project: Project) { | |||
downloadCliIfNeeded() | |||
if (getCliFile().exists()) executeAuthCommand() | |||
if (isAuthenticated) executeGetConfigApiCommand() | |||
|
|||
LanguageServerWrapper.getInstance().updateConfiguration() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Was this something we should have added before and you just noticed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. I noticed, that the token was not updated in Language Server after authentication. So I added it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested the Settings panel (changing the ignore settings and severities) and also had a look at Code Security and Code Quality issues. I haven't been able to test the other types of issues because of the bug we have with disabling/enabling other types of scanning from the Settings panel but I think it should be okay
Description
Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.
Checklist
Screenshots / GIFs
Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!