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 bugs with close of markdown docs #164942

Merged
merged 2 commits into from
Oct 29, 2022
Merged

Fix bugs with close of markdown docs #164942

merged 2 commits into from
Oct 29, 2022

Conversation

mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Oct 28, 2022

This is for #164562

There are two bugs here:

  • Something in the lsp is converting a value from undefined to null. To fix this, I've updated us just to check for falsy values instead

  • The hasInMemoryDoc implementation was incorrect. It needs to verify that the value of this.inMemoryDoc is not null/undefined

There are two bugs here:

- Something in the lsp is converting a value from `undefined` to `null`. To fix this, I've updated us just to check for falsy values instead
- The `hasInMemoryDoc` implementation was incorrect. It needs to verify that the value of `this.inMemoryDoc` is not null/undefined
@mjbvz mjbvz added this to the November 2022 milestone Oct 28, 2022
@mjbvz mjbvz self-assigned this Oct 28, 2022
@mjbvz mjbvz enabled auto-merge (squash) October 28, 2022 23:47
@mjbvz mjbvz disabled auto-merge October 28, 2022 23:53
@mjbvz mjbvz enabled auto-merge (squash) October 28, 2022 23:54
@mjbvz mjbvz merged commit 7cb1b9d into microsoft:main Oct 29, 2022
mjbvz added a commit to mjbvz/vscode that referenced this pull request Oct 29, 2022
This is a cherry pick of two fixes:

- microsoft#164945 which fixes microsoft#164932 by picking up a new md language service version

- microsoft#164942 which fixes microsoft#164562 by fixing a bug with the md workspace implementation
mjbvz added a commit that referenced this pull request Oct 31, 2022
This is a cherry pick of two fixes:

- #164945 which fixes #164932 by picking up a new md language service version

- #164942 which fixes #164562 by fixing a bug with the md workspace implementation
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2022
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

2 participants