refactor: Move test to the right file

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

No files matched your search

+3 -3
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