mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-17 03:21:27 +08:00
Escape JavaScript executables in commands
This commit is contained in:
1 parent
4228c503f4
commit
05bd4f591c
5 files changed
+5
-5
No files matched your search
@@ -27,7 +27,7 @@ function! ale_linters#javascript#flow#GetCommand(buffer) abort
|
||||
return ''
|
||||
endif
|
||||
|
||||
return ale_linters#javascript#flow#GetExecutable(a:buffer)
|
||||
return fnameescape(ale_linters#javascript#flow#GetExecutable(a:buffer))
|
||||
\ . ' check-contents --respect-pragma --json --from ale %s'
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in new issue
Block a user