summaryrefslogtreecommitdiff
path: root/ale_linters/python
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/python')
-rw-r--r--ale_linters/python/prospector.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ale_linters/python/prospector.vim b/ale_linters/python/prospector.vim
index eadfee47..fff37147 100644
--- a/ale_linters/python/prospector.vim
+++ b/ale_linters/python/prospector.vim
@@ -30,6 +30,10 @@ endfunction
function! ale_linters#python#prospector#Handle(buffer, lines) abort
let l:output = []
+ if empty(a:lines)
+ return []
+ endif
+
let l:prospector_error = json_decode(join(a:lines, ''))
for l:error in l:prospector_error.messages