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

Regression fix: Check if globalState has the persisted editors before attempting to load #436

Merged
merged 1 commit into from
Mar 24, 2018

Conversation

PrashanthCorp
Copy link
Contributor

Fixes #372

Check if globalState has the persisted editors before attempting to load
@PrashanthCorp PrashanthCorp requested a review from a team March 23, 2018 21:43
} else if (editorNode.treeItem instanceof DocDBDocumentTreeItem) {
editor = new DocDBDocumentNodeEditor(<IAzureNode<DocDBDocumentTreeItem>>editorNode);
} else if (editorNode.treeItem instanceof MongoDocumentTreeItem) {
editor = new MongoDocumentNodeEditor(<IAzureNode<MongoDocumentTreeItem>>editorNode);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diff is actually much smaller. Just inserting an if check in line 91, and else block at 109.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PrashanthCorp PrashanthCorp merged commit 095352f into master Mar 24, 2018
@PrashanthCorp PrashanthCorp deleted the ps/372 branch May 4, 2018 18:47
@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants