Use correct exclusion flag in rubocop fixer

This commit is contained in:
Max Hung
2018-10-31 11:18:07 +13:00
parent cae40e1c34
commit be02ba4ed7
2 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ function! ale#fixers#rubocop#GetCommand(buffer) abort
return ale#handlers#ruby#EscapeExecutable(l:executable, 'rubocop')
\ . (!empty(l:config) ? ' --config ' . ale#Escape(l:config) : '')
\ . (!empty(l:options) ? ' ' . l:options : '')
\ . ' --auto-correct --force-exclusions %t'
\ . ' --auto-correct --force-exclusion %t'
endfunction
function! ale#fixers#rubocop#Fix(buffer) abort