From 2e85c6cb8130d986fd7a97b2477762739dfd4e8f Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Wed, 12 Jun 2024 13:54:18 +0100 Subject: [PATCH] Fix spec as per current implementation --- src/hex_tarball.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()).