Fix #2821 - Fix the debride linter after merging older code
This commit is contained in:
parent
f932211309
commit
e8de12c9f0
2 changed files with 9 additions and 1 deletions
|
@ -7,7 +7,7 @@ call ale#Set('ruby_debride_options', '')
|
|||
function! ale_linters#ruby#debride#GetCommand(buffer) abort
|
||||
let l:executable = ale#Var(a:buffer, 'ruby_debride_executable')
|
||||
|
||||
return ale#handlers#ruby#EscapeExecutable(l:executable, 'debride')
|
||||
return ale#ruby#EscapeExecutable(l:executable, 'debride')
|
||||
\ . ale#Var(a:buffer, 'ruby_debride_options')
|
||||
\ . ' %s'
|
||||
endfunction
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
Before:
|
||||
call ale#assert#SetUpLinterTest('ruby', 'debride')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The default command should be correct):
|
||||
AssertLinter 'debride', ale#Escape('debride') . ' %s'
|
Reference in a new issue