mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-02 16:33:45 +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
@@ -34,7 +34,7 @@ function! ale_linters#javascript#eslint#GetExecutable(buffer) abort
|
||||
endfunction
|
||||
|
||||
function! ale_linters#javascript#eslint#GetCommand(buffer) abort
|
||||
return fnameescape(ale_linters#javascript#eslint#GetExecutable(a:buffer))
|
||||
return shellescape(ale_linters#javascript#eslint#GetExecutable(a:buffer))
|
||||
\ . ' ' . ale#Var(a:buffer, 'javascript_eslint_options')
|
||||
\ . ' -f unix --stdin --stdin-filename %s'
|
||||
endfunction
|
||||
|
||||
Reference in new issue
Block a user