refactor: Move test to the right file

This commit is contained in:
Gonzalo Quero
2020-11-23 10:21:09 +00:00
parent 491ceacb64
commit 7e9d4fbfc8
3 changed files with 10 additions and 38 deletions

View File

@@ -48,11 +48,11 @@ endfunction
function! ale_linters#elixir#credo#GetConfigFile() abort
let l:config_file = get(g:, 'ale_elixir_credo_config_file', '')
if len(l:config_file) == 0
if empty(l:config_file)
return ''
else
return ' --config-file ' . l:config_file
endif
return ' --config-file ' . l:config_file
endfunction
function! ale_linters#elixir#credo#GetCommand(buffer) abort