summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/jshint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/javascript/jshint.vim')
-rw-r--r--ale_linters/javascript/jshint.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim
index 657b0ff5..ec3c2c95 100644
--- a/ale_linters/javascript/jshint.vim
+++ b/ale_linters/javascript/jshint.vim
@@ -27,11 +27,11 @@ function! ale_linters#javascript#jshint#GetCommand(buffer) abort
\ get(g:, 'ale_jshint_config_loc', '')
\)
- let l:command = fnameescape(ale_linters#javascript#jshint#GetExecutable(a:buffer))
+ let l:command = shellescape(ale_linters#javascript#jshint#GetExecutable(a:buffer))
let l:command .= ' --reporter unix --extract auto'
if !empty(l:jshint_config)
- let l:command .= ' --config ' . fnameescape(l:jshint_config)
+ let l:command .= ' --config ' . shellescape(l:jshint_config)
endif
let l:command .= ' -'