Skip to content

Revert modifications caused by Code's test run #3993

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

Merged
merged 1 commit into from
May 19, 2022

Conversation

andyleejordan
Copy link
Member

VS Code 1.67.0 and up now modify the local package.json file during test run. Because we first run our tests in CI and then package our extension, this modification gets saved into the extension package. We need to check the file back out from Git after the test run.

This was identified in microsoft/vscode#148975, and I confirmed that our latest preview unfortunately had this __metadata added to it. As I don't know what side effects that will have, let's prevent it from happening.

VS Code 1.67.0 and up now modify the local `package.json` file during
test run. Because we first run our tests in CI and then package our
extension, this modification gets saved into the extension package. We
need to check the file back out from Git after the test run.
@andyleejordan andyleejordan requested a review from a team May 19, 2022 17:50
Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM!

@andyleejordan andyleejordan merged commit 667e17f into master May 19, 2022
@andyleejordan andyleejordan deleted the andschwa/reset-state branch May 19, 2022 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants