summaryrefslogtreecommitdiff
path: root/src/rebar_core.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_core.erl')
-rw-r--r--src/rebar_core.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index bbc104b..bf37c87 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -63,7 +63,7 @@ run(RawArgs) ->
Commands = parse_args(RawArgs),
%% Make sure crypto is running
- crypto:start(),
+ ok = crypto:start(),
%% Initialize logging system
rebar_log:init(),
@@ -286,10 +286,10 @@ process_commands([]) ->
end;
process_commands([Command | Rest]) ->
%% Reset skip dirs
- [erlang:erase({skip_dir, D}) || D <- skip_dirs()],
+ lists:foreach(fun (D) -> erlang:erase({skip_dir, D}) end, skip_dirs()),
Operations = erlang:get(operations),
- process_dir(rebar_utils:get_cwd(), rebar_config:new(), Command, sets:new()),
+ _ = process_dir(rebar_utils:get_cwd(), rebar_config:new(), Command, sets:new()),
case erlang:get(operations) of
Operations ->
%% This command didn't do anything