mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix dialyzer warning for call to code:which/1
This commit is contained in:
parent
b8b112524b
commit
820012410a
1 changed files with 2 additions and 1 deletions
|
@ -284,7 +284,8 @@ has_header(Mod, Header) ->
|
|||
cover_compiled ->
|
||||
{file, File} = cover:is_compiled(Mod),
|
||||
File;
|
||||
undefined -> Mod;
|
||||
non_existing -> Mod;
|
||||
preloaded -> Mod;
|
||||
L -> L
|
||||
end,
|
||||
{ok, {_, [{abstract_code, {_, AC}}]}} = beam_lib:chunks(Mod1, [abstract_code]),
|
||||
|
|
Loading…
Reference in a new issue