diff options
author | Eric Meadows-Jönsson <eric.meadows.jonsson@gmail.com> | 2019-01-04 12:22:42 +0100 |
---|---|---|
committer | Eric Meadows-Jönsson <eric.meadows.jonsson@gmail.com> | 2019-01-04 12:22:42 +0100 |
commit | 18479e74221a71eb020a1737b8661dfc11a3261c (patch) | |
tree | 8c9a51369f5ffccf91eff641fec40f0c90a004ab /src | |
parent | edb8f3d79874d012f04a70744425f21aa2ab578a (diff) |
Remove unnecessary clauses in update_package/3
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_packages.erl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rebar_packages.erl b/src/rebar_packages.erl index e92fbda..fc68cab 100644 --- a/src/rebar_packages.erl +++ b/src/rebar_packages.erl @@ -239,10 +239,6 @@ update_package(Name, RepoConfig=#{name := Repo}, State) -> {ok, RegistryDir} = rebar_packages:registry_dir(State), PackageIndex = filename:join(RegistryDir, ?INDEX_FILE), ok = ets:tab2file(?PACKAGE_TABLE, PackageIndex); - {ok, {403, _Headers, _}} -> - not_found; - {ok, {404, _Headers, _}} -> - not_found; {error, unverified} -> ?WARN(unverified_repo_message(), [Repo]), fail; |