diff --git a/src/hex_tarball.erl b/src/hex_tarball.erl index de013e1..7c2d622 100644 --- a/src/hex_tarball.erl +++ b/src/hex_tarball.erl @@ -141,7 +141,7 @@ create_docs(Files, Config) -> {error, {tarball, {too_big_uncompressed, TarballMaxUncompressedSize}}} end. --spec create_docs(files()) -> {ok, tarball()}. +-spec create_docs(files()) -> {ok, tarball()} | {error, term()}. create_docs(Files) -> create_docs(Files, hex_core:default_config()).