Fix loading of JSHint configuration files.

This commit is contained in:
w0rp 2016-10-06 12:56:03 +01:00
parent 0466ae942c
commit 36acde533f

View File

@ -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 .= ' -'