MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / fix_windows_newlines

Function fix_windows_newlines

tools/link.py:285–289  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

283
284
285def fix_windows_newlines(text):
286 # Avoid duplicating \r\n to \r\r\n when writing out text.
287 if WINDOWS:
288 text = text.replace('\r\n', '\n')
289 return text
290
291
292def read_js_files(files):

Callers 1

read_js_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected