summaryrefslogtreecommitdiff
path: root/src/rebar_config.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-08-16 08:49:41 -0500
committerTristan Sloughter <t@crashfast.com>2014-08-16 08:49:41 -0500
commita602cfc5934d0f9b6668105ee2721f846fc46aac (patch)
tree81c7e2bc0813318ede007ed17e2940c5fbf66935 /src/rebar_config.erl
parenteb8fa02df7d71435a879de987b3139bb5bffb963 (diff)
replace logging with ec_cmd_log from erlware_commons
Diffstat (limited to 'src/rebar_config.erl')
-rw-r--r--src/rebar_config.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl
index 11756b7..079801a 100644
--- a/src/rebar_config.erl
+++ b/src/rebar_config.erl
@@ -26,7 +26,7 @@
%% -------------------------------------------------------------------
-module(rebar_config).
--export([new/0, new/1, new2/2, base_config/1, consult_file/1,
+-export([new/0, new/1, new/2, new2/2, base_config/1, consult_file/1,
get/3, get_local/3, get_list/3,
get_all/2,
set/3,
@@ -96,7 +96,7 @@ new(_ParentConfig=#config{opts=Opts0, globals=Globals, skip_dirs=SkipDirs, xconf
new(#config{opts=Opts0, globals=Globals, skip_dirs=SkipDirs, xconf=Xconf},
?DEFAULT_NAME).
-new(ParentConfig, ConfName) ->
+new(ParentConfig=#config{}, ConfName) ->
%% Load terms from rebar.config, if it exists
Dir = rebar_utils:get_cwd(),
new(ParentConfig, ConfName, Dir).