Fix possible return value tuple error
This commit is contained in:
parent
ea66d1c191
commit
f1c97bcb88
@ -1579,7 +1579,7 @@ do_fetch(PackageID, Requestor, State = #s{id = ID}) ->
|
||||
case file:read_file(Path) of
|
||||
{ok, Bin} ->
|
||||
ok = do_fetch2(Bin, Requestor, ID),
|
||||
{ok, State};
|
||||
State;
|
||||
{error, enoent} ->
|
||||
{Realm, Name, Version} = PackageID,
|
||||
Action = {fetch, Realm, Name, Version},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user