diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-07 16:19:40 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-07 16:19:40 +0100 |
commit | 05bd4f591c3d9f53dff8beadb5468ed7a301fad4 (patch) | |
tree | acd998a687ccb55e08f4780f89fed69cd5cc6a5c /ale_linters/javascript/jshint.vim | |
parent | 4228c503f4e89c50606bf225958363ceb349fecd (diff) | |
download | ale-05bd4f591c3d9f53dff8beadb5468ed7a301fad4.zip |
Escape JavaScript executables in commands
Diffstat (limited to 'ale_linters/javascript/jshint.vim')
-rw-r--r-- | ale_linters/javascript/jshint.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim index ddb8619f..657b0ff5 100644 --- a/ale_linters/javascript/jshint.vim +++ b/ale_linters/javascript/jshint.vim @@ -27,7 +27,7 @@ function! ale_linters#javascript#jshint#GetCommand(buffer) abort \ get(g:, 'ale_jshint_config_loc', '') \) - let l:command = ale_linters#javascript#jshint#GetExecutable(a:buffer) + let l:command = fnameescape(ale_linters#javascript#jshint#GetExecutable(a:buffer)) let l:command .= ' --reporter unix --extract auto' if !empty(l:jshint_config) |