We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6e93c commit 3b2a742Copy full SHA for 3b2a742
src/helpers/line-ending-detector.ts
@@ -10,6 +10,5 @@ export const detectLineEnding = (value: string) => {
10
11
const crlf = newlines.filter((newline) => newline === '\r\n').length;
12
const lf = newlines.length - crlf;
13
- console.log(crlf > lf ? 'returning r and n' : 'returning r');
14
return crlf > lf ? '\r\n' : '\n';
15
};
0 commit comments