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 tasks.json parsing by switching to jsonc-parser #6288

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

dibarbet
Copy link
Member

@dibarbet dibarbet commented Sep 6, 2023

Apparently we had our own custom code to clean json files. I don't really want to maintain that, so switching to jsonc-parser which tolerates more than the standard nodejs parser (since vscode is more tolerant as well).
Resolves #4377

@dibarbet dibarbet requested a review from a team as a code owner September 6, 2023 00:56
@dibarbet dibarbet changed the title Fix tasks.json parsing by switching to json5 Fix tasks.json parsing by switching to jsonc-parser Sep 6, 2023
@dibarbet dibarbet merged commit cd960e0 into dotnet:main Sep 6, 2023
7 checks passed
@dibarbet dibarbet deleted the fix_parsing branch September 6, 2023 22:33
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.

[Bug] Parsing failure when tasks.json contains comments
2 participants