Move ale#handlers#ruby#EscapeExecutable to ale#ruby#EscapeExecutable

This function is generally applicable to Ruby, not just handling linter
output.
This commit is contained in:
Eddie Lebow
2019-08-13 01:52:13 -04:00
parent 28c93ab185
commit 58e8d32d79
12 changed files with 17 additions and 18 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ function! ale_linters#ruby#reek#GetCommand(buffer, version) abort
\ ? ' --stdin-filename %s'
\ : ''
return ale#handlers#ruby#EscapeExecutable(l:executable, 'reek')
return ale#ruby#EscapeExecutable(l:executable, 'reek')
\ . ' -f json --no-progress --no-color --force-exclusion'
\ . l:display_name_args
endfunction