mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-07 20:54:34 +08:00
#540 Fix shell escaping pretty much everywhere
This commit is contained in:
1 parent
28c6ec9cad
commit
6ea00af689
37 files changed
+85
-87
No files matched your search
@@ -12,7 +12,7 @@ function! ale_linters#lua#luacheck#GetExecutable(buffer) abort
|
||||
endfunction
|
||||
|
||||
function! ale_linters#lua#luacheck#GetCommand(buffer) abort
|
||||
return ale_linters#lua#luacheck#GetExecutable(a:buffer)
|
||||
return shellescape(ale_linters#lua#luacheck#GetExecutable(a:buffer))
|
||||
\ . ' ' . ale#Var(a:buffer, 'lua_luacheck_options')
|
||||
\ . ' --formatter plain --codes --filename %s -'
|
||||
endfunction
|
||||
|
||||
Reference in new issue
Block a user