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:
Jeffrey Lau 2020-04-18 17:25:15 +08:00
parent 64b9a2708d
commit e0181f8832

View file

@ -32,6 +32,8 @@ function! ale_linters#scala#metals#GetProjectRoot(buffer) abort
\) \)
endif endif
endfor endfor
return ''
endfunction endfunction
function! ale_linters#scala#metals#GetCommand(buffer) abort function! ale_linters#scala#metals#GetCommand(buffer) abort