summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar3.erl2
-rw-r--r--test/rebar_compile_SUITE.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index f29eaec..dcd78f7 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -141,7 +141,7 @@ run_aux(State, Args) ->
{ok, Providers} = application:get_env(rebar, providers),
State3 = rebar_state:create_logic_providers(Providers, State2),
Task = rebar_state:get(State3, task, "help"),
- rebar_core:process_command(rebar_state:command_args(State3, Args), ec_cnv:to_atom(Task)),
+ rebar_core:process_command(rebar_state:command_args(State3, Args), list_to_atom(Task)),
ok.
%%
diff --git a/test/rebar_compile_SUITE.erl b/test/rebar_compile_SUITE.erl
index 8efdc99..f9f79af 100644
--- a/test/rebar_compile_SUITE.erl
+++ b/test/rebar_compile_SUITE.erl
@@ -43,7 +43,7 @@ build_basic_app(Config) ->
ConfigFile = filename:join([AppDir, "rebar.config"]),
write_config(ConfigFile, []),
- rebar3:run(rebar_state:new(State, [], AppDir), ["compile"]),
+ rebar3:run(rebar_state:new(State, [], AppDir), "compile"),
%% Verify app was built
[App] = rebar_app_discover:find_apps([AppDir]),