Skip to content

Commit

Permalink
fix: 🐛 remove accidental debug console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
nivekcode committed Mar 25, 2021
1 parent 7b6e93c commit 3b2a742
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/helpers/line-ending-detector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ export const detectLineEnding = (value: string) => {

const crlf = newlines.filter((newline) => newline === '\r\n').length;
const lf = newlines.length - crlf;
console.log(crlf > lf ? 'returning r and n' : 'returning r');
return crlf > lf ? '\r\n' : '\n';
};

0 comments on commit 3b2a742

Please sign in to comment.