mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-28 05:42:16 +08:00
#540 Fix shell escaping pretty much everywhere
This commit is contained in:
@@ -47,7 +47,7 @@ endfunction
|
||||
" Output 'cd <directory> && '
|
||||
" This function can be used changing the directory for a linter command.
|
||||
function! ale#path#CdString(directory) abort
|
||||
return 'cd ' . fnameescape(a:directory) . ' && '
|
||||
return 'cd ' . shellescape(a:directory) . ' && '
|
||||
endfunction
|
||||
|
||||
" Output 'cd <buffer_filename_directory> && '
|
||||
|
||||
Reference in New Issue
Block a user