Skip to content

Fix running tests when ms-python is installed.#803

Merged
adityasharad merged 2 commits intogithub:mainfrom
alexet:fix-starts-with
Mar 22, 2021
Merged

Fix running tests when ms-python is installed.#803
adityasharad merged 2 commits intogithub:mainfrom
alexet:fix-starts-with

Conversation

@alexet
Copy link
Copy Markdown

@alexet alexet commented Mar 22, 2021

Fixes #802 by manually implementing startsWith. This is probably a slight performance hit but I don't think we can do much about it.

This is the only place where we use the two argument version whcih is the one that becomes broken.

Copy link
Copy Markdown
Contributor

@adityasharad adityasharad left a comment

Choose a reason for hiding this comment

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

Looks sensible. I first thought we should reset the prototype, but that creates similar downstream effects for other extensions.

@adityasharad
Copy link
Copy Markdown
Contributor

Forgot - can you add a changelog entry? This PR's title and link should be enough.

@adityasharad adityasharad merged commit d909f98 into github:main Mar 22, 2021
@alexet
Copy link
Copy Markdown
Author

alexet commented Mar 23, 2021

If we change the prototype then it depends which extension gets there first.

aofaof0907 pushed a commit to aofaof0907/vscode-codeql that referenced this pull request Jul 27, 2021
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
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.

No output while running tests when Python extension is also installed

2 participants