summaryrefslogtreecommitdiff
path: root/ale_linters/ruby
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-06-21 22:33:34 +0100
committerw0rp <devw0rp@gmail.com>2017-06-21 22:33:34 +0100
commitdab6f39eb0b5d0dd77a8dc3fe58d0648d82696f7 (patch)
tree18faefa99cc56fee65db35c007c0e2e267166cc6 /ale_linters/ruby
parentab534c2995dabfb8adcdc62d0ac66ed1b1110f4c (diff)
downloadale-dab6f39eb0b5d0dd77a8dc3fe58d0648d82696f7.zip
Fix some escaping and make some tests set filenames consistently
Diffstat (limited to 'ale_linters/ruby')
-rw-r--r--ale_linters/ruby/brakeman.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/ruby/brakeman.vim b/ale_linters/ruby/brakeman.vim
index 3cc5b77d..fa5617df 100644
--- a/ale_linters/ruby/brakeman.vim
+++ b/ale_linters/ruby/brakeman.vim
@@ -40,7 +40,7 @@ function! ale_linters#ruby#brakeman#GetCommand(buffer) abort
return 'brakeman -f json -q '
\ . ale#Var(a:buffer, 'ruby_brakeman_options')
- \ . ' -p ' . l:rails_root
+ \ . ' -p ' . ale#Escape(l:rails_root)
endfunction
function! s:FindRailsRoot(buffer) abort