mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-18 14:29:50 +08:00
Fix #921 - Capture both output streams for gosimple and staticcheck
This commit is contained in:
@@ -6,4 +6,5 @@ call ale#linter#Define('go', {
|
|||||||
\ 'executable': 'gosimple',
|
\ 'executable': 'gosimple',
|
||||||
\ 'command': 'gosimple %t',
|
\ 'command': 'gosimple %t',
|
||||||
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
||||||
|
\ 'output_stream': 'both'
|
||||||
\})
|
\})
|
||||||
|
|||||||
@@ -6,4 +6,5 @@ call ale#linter#Define('go', {
|
|||||||
\ 'executable': 'staticcheck',
|
\ 'executable': 'staticcheck',
|
||||||
\ 'command': 'staticcheck %t',
|
\ 'command': 'staticcheck %t',
|
||||||
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
||||||
|
\ 'output_stream': 'both'
|
||||||
\})
|
\})
|
||||||
|
|||||||
Reference in New Issue
Block a user