mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
#540 Fix shell escaping pretty much everywhere
This commit is contained in:
@@ -30,7 +30,7 @@ function! ale_linters#python#mypy#GetCommand(buffer) abort
|
||||
let l:executable = ale_linters#python#mypy#GetExecutable(a:buffer)
|
||||
|
||||
return l:cd_command
|
||||
\ . fnameescape(l:executable)
|
||||
\ . shellescape(l:executable)
|
||||
\ . ' --show-column-numbers '
|
||||
\ . ale#Var(a:buffer, 'python_mypy_options')
|
||||
\ . ' %s'
|
||||
|
||||
Reference in New Issue
Block a user