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

Fix open notebook bug #10930

Merged
merged 4 commits into from
Jun 16, 2020
Merged

Fix open notebook bug #10930

merged 4 commits into from
Jun 16, 2020

Conversation

Charles-Gagnon
Copy link
Contributor

And adds a test for it. Fixes #10929

Moved some other tests around while I was working on this too to places that made more sense.

filters: filter
});
if (file && file.length > 0) {
await azdata.nb.showNotebookDocument(file[0]);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the fix. Instead of calling openTextDocument (which was known to be broken in the last vs code merge) just call the API we have already.

@coveralls
Copy link

coveralls commented Jun 16, 2020

Coverage Status

Coverage increased (+0.02%) to 35.257% when pulling b040afb on chgagnon/fixNotebookOpen into b922fc7 on main.

}
}
}

Copy link
Member

Choose a reason for hiding this comment

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

Some extra spaces here

@Charles-Gagnon Charles-Gagnon merged commit 94bc0d9 into main Jun 16, 2020
@Charles-Gagnon Charles-Gagnon deleted the chgagnon/fixNotebookOpen branch June 16, 2020 20:07
ktech99 pushed a commit that referenced this pull request Aug 23, 2020
* Fix open notebook bug

* cleanup

* clean up spaces
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

Successfully merging this pull request may close these issues.

Open Notebook command doesn't work
4 participants