Fix #175 - Fix the error types for rubocop
This commit is contained in:
parent
9c5f092b4f
commit
9191750b5b
@ -26,7 +26,7 @@ function! ale_linters#ruby#rubocop#Handle(buffer, lines)
|
||||
\ 'vcol': 0,
|
||||
\ 'col': l:match[2] + 0,
|
||||
\ 'text': l:text,
|
||||
\ 'type': l:type ==# 'C' ? 'E' : 'W',
|
||||
\ 'type': index(['C', 'E'], l:type) != -1 ? 'E' : 'W',
|
||||
\ 'nr': -1,
|
||||
\})
|
||||
endfor
|
||||
|
Loading…
Reference in New Issue
Block a user