From 8f317965eb1d0d11f80ff28ef1738235b7b1f881 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 31 Mar 2015 19:03:20 +0200 Subject: [PATCH] Fix a Dialyzer warning in the recently introduced rebar_otp_appup.erl --- src/rebar_otp_appup.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rebar_otp_appup.erl b/src/rebar_otp_appup.erl index 36fd353..5baaf33 100644 --- a/src/rebar_otp_appup.erl +++ b/src/rebar_otp_appup.erl @@ -38,8 +38,7 @@ %% Public API %% =================================================================== --spec compile(rebar_config:config(), file:filename()) -> - {'ok', rebar_config:config()}. +-spec compile(rebar_config:config(), file:filename()) -> 'ok'. compile(Config, _AppFile) -> %% If we get an *.appup.src file, it needs to be pre-processed and %% written out as a ebin/*.appup file.