Skip to content

Commit

Permalink
add empty clause back
Browse files Browse the repository at this point in the history
  • Loading branch information
starbelly committed Oct 19, 2020
1 parent ff9d6c7 commit a3be8fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hex_tarball.erl
Expand Up @@ -199,6 +199,7 @@ format_checksum(Checksum) ->
%% @doc
%% Converts an error reason term to a human-readable error message string.
-spec format_error(term()) -> string().
format_error({tarball, empty}) -> "empty tarball";
format_error({tarball, {too_big_uncompressed, Size}}) ->
io_lib:format("package exceeds max uncompressed size ~w ~s", [format_byte_size(Size), "MB"]);
format_error({tarball, {too_big_compressed, Size}}) ->
Expand Down

0 comments on commit a3be8fa

Please sign in to comment.