diff options
author | w0rp <devw0rp@gmail.com> | 2019-02-01 13:01:51 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-02-01 13:01:56 +0000 |
commit | 4d426bf2873c6e1cd2c71e478c756903307628d3 (patch) | |
tree | ea3d979090833dc7004e3f025415a80ab6146b41 /ale_linters/javascript | |
parent | 067601e9db7e0c2ab6c8394c9be74769463c6da9 (diff) | |
download | ale-4d426bf2873c6e1cd2c71e478c756903307628d3.zip |
Fix #2263 - detailed Flow errors should show the original message
Diffstat (limited to 'ale_linters/javascript')
-rwxr-xr-x | ale_linters/javascript/flow.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/javascript/flow.vim b/ale_linters/javascript/flow.vim index a4664fda..0561ab74 100755 --- a/ale_linters/javascript/flow.vim +++ b/ale_linters/javascript/flow.vim @@ -156,7 +156,8 @@ function! ale_linters#javascript#flow#Handle(buffer, lines) abort \} if has_key(l:error, 'extra') - let l:errorToAdd.detail = s:GetDetails(l:error) + let l:errorToAdd.detail = l:errorToAdd.text + \ . "\n" . s:GetDetails(l:error) endif call add(l:output, l:errorToAdd) |