Skip to content

Commit

Permalink
Remove redundant case clause
Browse files Browse the repository at this point in the history
  • Loading branch information
ream88 committed Dec 30, 2023
1 parent 9a50753 commit 56570d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/mix/tasks/hex.organization.ex
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,6 @@ defmodule Mix.Tasks.Hex.Organization do
"Failed to authenticate against organization repository with given key because of: #{message}"
)

{:ok, {code, _body, _}} when code in [401, 403] ->
Hex.Shell.error("Failed to authenticate against organization repository with given key")

other ->
Hex.Utils.print_error_result(other)
Hex.Shell.error("Failed to verify authentication key")
Expand Down

0 comments on commit 56570d7

Please sign in to comment.