mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user