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

build: dont strip single line comments #14969

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Nov 13, 2023

Description

In our built .dts files, some links are incorrectly stripped, e.g. https://example.com/... gets stripped as http: as the single-line comment regex was a bit too naive. It broke quite a few jsdoc comments too.

I figured it's better to remove stripping single line comments altogether since they aren't a lot, and sometimes contain useful information, e.g. // Inlined to avoid extra dependency (chokidar is bundled in the published build)

@bluwy bluwy added the p1-chore Doesn't change code behavior (priority) label Nov 13, 2023
@patak-dev patak-dev merged commit ea9ccb7 into main Nov 13, 2023
10 checks passed
@patak-dev patak-dev deleted the strip-single-comments branch November 13, 2023 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1-chore Doesn't change code behavior (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants