Skip to content

Commit d06a53b

Browse files
committed
Fix the regexp for arc lint to correctly only match a single line.
Auditors: mroth Test Plan: cf. https://phabricator.khanacademy.org/rKLc9b1ea71
1 parent c48aec9 commit d06a53b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.arclint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"khan-linter": {
44
"type": "script-and-regex",
55
"script-and-regex.script": "ka-lint --always-exit-0 --blacklist=yes --propose-arc-fixes",
6-
"script-and-regex.regex": "\/^((?P<file>[^:]*):(?P<line>\\d+):((?P<char>\\d+):)? (?P<name>((?P<error>E)|(?P<warning>W))\\S+) (?P<message>[^\\x00]*)(\\x00(?P<original>[^\\x00]*)\\x00(?P<replacement>[^\\x00]*)\\x00)?)|(?P<ignore>SKIPPING.*)$\/m"
6+
"script-and-regex.regex": "\/^((?P<file>[^:]*):(?P<line>\\d+):((?P<char>\\d+):)? (?P<name>((?P<error>E)|(?P<warning>W))\\S+) (?P<message>[^\\x00\n]*)(\\x00(?P<original>[^\\x00]*)\\x00(?P<replacement>[^\\x00]*)\\x00)?)|(?P<ignore>SKIPPING.*)$\/m"
77
}
88
}
99
}

0 commit comments

Comments
 (0)