From 79546e66ffd37675b352eb8a4cdc3485fec095c1 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 15 Oct 2010 18:10:20 +0200 Subject: [PATCH] Add spec: rebar_utils:abort/2 does not return Thanks to Kostis for no_return() result type. --- src/rebar_utils.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index 9df360c..9512152 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -123,6 +123,7 @@ ensure_dir(Path) -> Error end. +-spec abort(string(), [term()]) -> no_return(). abort(String, Args) -> ?ERROR(String, Args), halt(1).