Skip to content

Commit

Permalink
Fix spec as per current implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Jun 19, 2024
1 parent 046c0bb commit ed59654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hex_api_release.erl
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

-type publish_params() :: [{replace, boolean()}].

-type retirement_reason() :: other | invalid | security | deprecated | renamed.
-type retirement_reason() :: binary().

-type retirement_params() :: #{reason := retirement_reason(), message => binary()}.
-type retirement_params() :: #{binary() := binary()}.
%% @doc
%% Gets a package release.
%%
Expand Down

0 comments on commit ed59654

Please sign in to comment.