Escape the perl executable, and cover the callbacks with tests

This commit is contained in:
w0rp committed 2017-12-02 20:47:01 +00:00
1 parent a4f8506227
commit 2f9869de44
2 files changed
+38 -1

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ function! ale_linters#perl#perl#GetExecutable(buffer) abort
endfunction
function! ale_linters#perl#perl#GetCommand(buffer) abort
return ale_linters#perl#perl#GetExecutable(a:buffer)
return ale#Escape(ale_linters#perl#perl#GetExecutable(a:buffer))
\ . ' ' . ale#Var(a:buffer, 'perl_perl_options')
\ . ' %t'
endfunction