Closed Bug 1794697 Opened 3 years ago Closed 3 years ago

./mach esmify rewrites some files with Windows style line endings.

Categories

(Core :: XPConnect, defect)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: nrishel, Assigned: saschanaz)

References

Details

Attachments

(1 file)

Some files seem to be rewritten with Windows style line endings when using ./mach esmify. Example - see files where all lines are diffed.

This may not warrant investigation since esmify should be a short lived tool, but wanted to put it on the record in case it's a trivial fix.

(Let's follow the component of the parent bug)

Component: General → XPConnect

Python's write('w') by default uses system default line ending which is \r\n in Windows. newline=\n helps us to keep using \n everywhere.

Assignee: nobody → krosylight
Status: NEW → ASSIGNED
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c591d2d21ae Pass newline=\n when esmifying r=arai DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
See Also: → 1795796
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: