mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-22 03:51:26 +08:00
#540 Fix shell escaping pretty much everywhere
This commit is contained in:
@@ -27,7 +27,7 @@ function! ale_linters#javascript#flow#GetCommand(buffer) abort
|
||||
return ''
|
||||
endif
|
||||
|
||||
return fnameescape(ale_linters#javascript#flow#GetExecutable(a:buffer))
|
||||
return shellescape(ale_linters#javascript#flow#GetExecutable(a:buffer))
|
||||
\ . ' check-contents --respect-pragma --json --from ale %s'
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user