Skip to content

Commit cca8479

Browse files
Strip cr (for Windows) because @aivenio/tsc doesn't support it
1 parent d3bcaf8 commit cca8479

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/format.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Issue } from 'codeclimate-types';
33
import { createHash } from "node:crypto";
44

55
export default function format (input: string): Issue[] {
6+
input = input.replace(/\r/, "");
67
const foo: GrammarItem[] = parse(input);
78

89
return foo.map((inputItem) => {

0 commit comments

Comments
 (0)