#540 Fix shell escaping pretty much everywhere

This commit is contained in:
w0rp
2017-05-08 22:59:25 +01:00
parent 32f21751f4
commit 8e4bac54a6
37 changed files with 85 additions and 87 deletions

View File

@@ -43,7 +43,7 @@ function! ale_linters#elm#make#GetCommand(buffer) abort
let l:dir_set_cmd = ''
else
let l:root_dir = fnamemodify(l:elm_package, ':p:h')
let l:dir_set_cmd = 'cd ' . fnameescape(l:root_dir) . ' && '
let l:dir_set_cmd = 'cd ' . shellescape(l:root_dir) . ' && '
endif
" The elm-make compiler, at the time of this writing, uses '/dev/null' as