fix: org resolver to not take existing org [IDE-1498] #451
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The org resolver flow no longer needs to take an existing org, since checking if the existing org is the default or not will be done elsewhere.
This function is just used by the IDE team for now, so we are happy to have a "breaking change".
Also, some function parameters were moved about a bit for a tider feel.
Do not merge until the 4 character change has been made in LS and is ready to be merged in succession after (remembering to change the LS PR GAF dep back to main).
https://github.com/snyk/snyk-ls/pull/1027/files#diff-a01d76ab6661698c36e473c55c884a030bd552172f85a07dd650b48d78440720L43