summaryrefslogtreecommitdiff
path: root/src/rebar_state.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_state.erl')
-rw-r--r--src/rebar_state.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_state.erl b/src/rebar_state.erl
index 3350ffe..77004a7 100644
--- a/src/rebar_state.erl
+++ b/src/rebar_state.erl
@@ -52,12 +52,12 @@
-spec new() -> t().
new() ->
- #state_t{dir = rebar_utils:get_cwd()}.
+ #state_t{dir = rebar_dir:get_cwd()}.
-spec new(list()) -> t().
new(Config) when is_list(Config) ->
Opts = dict:from_list(Config),
- #state_t { dir = rebar_utils:get_cwd(),
+ #state_t { dir = rebar_dir:get_cwd(),
default = Opts,
opts = Opts }.
@@ -65,13 +65,13 @@ new(Config) when is_list(Config) ->
new(Profile, Config) when is_atom(Profile)
, is_list(Config) ->
Opts = dict:from_list(Config),
- #state_t { dir = rebar_utils:get_cwd(),
+ #state_t { dir = rebar_dir:get_cwd(),
current_profile = Profile,
default = Opts,
opts = Opts };
new(ParentState=#state_t{}, Config) ->
%% Load terms from rebar.config, if it exists
- Dir = rebar_utils:get_cwd(),
+ Dir = rebar_dir:get_cwd(),
new(ParentState, Config, Dir).
-spec new(t(), list(), file:name()) -> t().