MCPcopy
hub / github.com/prettier/prettier / removeStdioFinalNewLine

Function removeStdioFinalNewLine

tests/integration/run-cli.js:113–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 }
112
113 const removeStdioFinalNewLine = () => {
114 for (const stream of ["stdout", "stderr"]) {
115 result[stream] = removeFinalNewLine(result[stream]);
116 }
117 };
118
119 worker.once("close", (code) => {
120 result.status = code;

Callers 1

runCliWorkerFunction · 0.85

Calls 1

removeFinalNewLineFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…