Skip to content

Move convert_line_endings_in_file into link.py. NFC#26360

Merged
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:convert_line_endings_in_file
Mar 2, 2026
Merged

Move convert_line_endings_in_file into link.py. NFC#26360
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:convert_line_endings_in_file

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 27, 2026

This is the only file that uses it so we don't need to it in the shared utils.

This is the only file that uses it so we don't need to it in the
shared utils.
@sbc100 sbc100 requested a review from kripken February 27, 2026 19:37
@sbc100 sbc100 enabled auto-merge (squash) February 27, 2026 21:39
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

Even if this is the one file that uses it, it is a general simple utility, which feels more at home in utils.py?

@sbc100
Copy link
Collaborator Author

sbc100 commented Feb 28, 2026

Maybe. Its not a huge deal, but in general I try to keep util.py and shared.py for stuff that is used a lot (or at least more then once)

@kripken
Copy link
Member

kripken commented Feb 28, 2026

Fair enough. I don't feel strongly here, though I'd go the other way personally.

@sbc100 sbc100 disabled auto-merge March 2, 2026 19:43
@sbc100 sbc100 merged commit c239ade into emscripten-core:main Mar 2, 2026
36 checks passed
@sbc100 sbc100 deleted the convert_line_endings_in_file branch March 2, 2026 19:43
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.

2 participants