Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 8c0a124

Browse files
committed
Should match any line ending, including \r (Old Mac), \n (POSIX), and \r\n (Windows)
1 parent ee2a8bc commit 8c0a124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/linter-pyflakes.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class LinterPyflakes extends Linter
1616

1717
# A regex pattern used to extract information from the executable's output.
1818
# regex: ""/path/to/python/file.py:28: redefinition of unused 'models' from line 5"
19-
regex: ':(?<line>\\d+): (?<message>.*?)\n'
19+
regex: ':(?<line>\\d+): (?<message>.*?)[\r\n]+'
2020

2121
constructor: (editor)->
2222
super editor

0 commit comments

Comments
 (0)