Skip to content

Commit d8eb27b

Browse files
Forgot g to replace _all_ occurrence of cr.
1 parent cca8479 commit d8eb27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/format.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +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/, "");
6+
input = input.replace(/\r/g, "");
77
const foo: GrammarItem[] = parse(input);
88

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

0 commit comments

Comments
 (0)