mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Fix #676 - Fix handling of Perl errors
This commit is contained in:
@@ -27,7 +27,7 @@ function! ale_linters#perl#perl#Handle(buffer, lines) abort
|
||||
let l:text = l:match[1]
|
||||
let l:type = 'E'
|
||||
|
||||
if l:match[2][-len(l:basename):] ==# l:basename
|
||||
if ale#path#IsBufferPath(a:buffer, l:match[2])
|
||||
\&& l:text !=# 'BEGIN failed--compilation aborted'
|
||||
call add(l:output, {
|
||||
\ 'lnum': l:line,
|
||||
|
||||
Reference in New Issue
Block a user