summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/flow.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-07 16:19:40 +0100
committerw0rp <devw0rp@gmail.com>2017-05-07 16:19:40 +0100
commit05bd4f591c3d9f53dff8beadb5468ed7a301fad4 (patch)
treeacd998a687ccb55e08f4780f89fed69cd5cc6a5c /ale_linters/javascript/flow.vim
parent4228c503f4e89c50606bf225958363ceb349fecd (diff)
downloadale-05bd4f591c3d9f53dff8beadb5468ed7a301fad4.zip
Escape JavaScript executables in commands
Diffstat (limited to 'ale_linters/javascript/flow.vim')
-rw-r--r--ale_linters/javascript/flow.vim2
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