linter/scala/metals: Fix return value of GetProjectRoot()
It was returning 0 when it should be returning an empty string.
The 'AssertEqual' in the ale image is from an old version so it does not
check the types of the arguments.
This is already fixed in 427fe19104
Closes #3120
This commit is contained in:
parent
64b9a2708d
commit
e0181f8832
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ function! ale_linters#scala#metals#GetProjectRoot(buffer) abort
|
|||
\)
|
||||
endif
|
||||
endfor
|
||||
|
||||
return ''
|
||||
endfunction
|
||||
|
||||
function! ale_linters#scala#metals#GetCommand(buffer) abort
|
||||
|
|
Reference in a new issue