From 6ea00af6895e111320a2047f43f94792a46b6cea Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 8 May 2017 22:59:25 +0100 Subject: #540 Fix shell escaping pretty much everywhere --- ale_linters/javascript/xo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/javascript/xo.vim') diff --git a/ale_linters/javascript/xo.vim b/ale_linters/javascript/xo.vim index a3e9f999..b7a549f0 100644 --- a/ale_linters/javascript/xo.vim +++ b/ale_linters/javascript/xo.vim @@ -23,7 +23,7 @@ function! ale_linters#javascript#xo#GetExecutable(buffer) abort endfunction function! ale_linters#javascript#xo#GetCommand(buffer) abort - return fnameescape(ale_linters#javascript#xo#GetExecutable(a:buffer)) + return shellescape(ale_linters#javascript#xo#GetExecutable(a:buffer)) \ . ' ' . ale#Var(a:buffer, 'javascript_xo_options') \ . ' --reporter unix --stdin --stdin-filename %s' endfunction -- cgit v1.2.3