diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-07 16:19:40 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-07 16:19:40 +0100 |
commit | 05bd4f591c3d9f53dff8beadb5468ed7a301fad4 (patch) | |
tree | acd998a687ccb55e08f4780f89fed69cd5cc6a5c /ale_linters/javascript/flow.vim | |
parent | 4228c503f4e89c50606bf225958363ceb349fecd (diff) | |
download | ale-05bd4f591c3d9f53dff8beadb5468ed7a301fad4.zip |
Escape JavaScript executables in commands
Diffstat (limited to 'ale_linters/javascript/flow.vim')
-rw-r--r-- | ale_linters/javascript/flow.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/javascript/flow.vim b/ale_linters/javascript/flow.vim index 24c7bca5..14f65126 100644 --- a/ale_linters/javascript/flow.vim +++ b/ale_linters/javascript/flow.vim @@ -27,7 +27,7 @@ function! ale_linters#javascript#flow#GetCommand(buffer) abort return '' endif - return ale_linters#javascript#flow#GetExecutable(a:buffer) + return fnameescape(ale_linters#javascript#flow#GetExecutable(a:buffer)) \ . ' check-contents --respect-pragma --json --from ale %s' endfunction |