diff options
Diffstat (limited to 'ale_linters/javascript/jshint.vim')
-rw-r--r-- | ale_linters/javascript/jshint.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim index 12c93f2b..577e5c1b 100644 --- a/ale_linters/javascript/jshint.vim +++ b/ale_linters/javascript/jshint.vim @@ -19,8 +19,8 @@ function! ale_linters#javascript#jshint#GetCommand(buffer) let command = 'jshint --reporter unix' - if jshint_config - let command .= ' --config ' . shellescape(jshint_config) + if !empty(jshint_config) + let command .= ' --config ' . fnameescape(jshint_config) endif let command .= ' -' |