diff options
Diffstat (limited to 'src/rebar_prv_path.erl')
-rw-r--r-- | src/rebar_prv_path.erl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/rebar_prv_path.erl b/src/rebar_prv_path.erl index 2a59ae4..37c9834 100644 --- a/src/rebar_prv_path.erl +++ b/src/rebar_prv_path.erl @@ -40,10 +40,8 @@ do(State) -> Paths = lists:filter(fun({app, _}) -> false; ({separator, _}) -> false; (_) -> true end, RawOpts), %% if no paths requested in opts print the base_dir instead P = case Paths of [] -> [{ebin, true}]; _ -> Paths end, - case paths(P, Apps, State, []) of - ok -> {ok, State}; - {error, Error} -> {error, Error} - end. + paths(P, Apps, State, []), + {ok, State}. -spec format_error(any()) -> iolist(). format_error(Reason) -> @@ -124,4 +122,4 @@ help(lib) -> "Return the `lib' path of the current profile."; help(priv) -> "Return the `priv' path of the current profile's applications."; help(separator) -> "In case of multiple return paths, the separator character to use to join them."; help(src) -> "Return the `src' path of the current profile's applications."; -help(rel) -> "Return the `rel' path of the current profile.".
\ No newline at end of file +help(rel) -> "Return the `rel' path of the current profile.". |