diff options
Diffstat (limited to 'src/rebar_shell.erl')
-rw-r--r-- | src/rebar_shell.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_shell.erl b/src/rebar_shell.erl index 97ac23e..fdd8523 100644 --- a/src/rebar_shell.erl +++ b/src/rebar_shell.erl @@ -42,9 +42,9 @@ %% Public API %% =================================================================== --spec init(rebar_config:config()) -> {ok, rebar_config:config()}. +-spec init(rebar_state:t()) -> {ok, rebar_state:t()}. init(State) -> - State1 = rebar_config:add_provider(State, #provider{name = ?PROVIDER, + State1 = rebar_state:add_provider(State, #provider{name = ?PROVIDER, provider_impl = ?MODULE, bare = false, deps = ?DEPS, @@ -54,7 +54,7 @@ init(State) -> opts = []}), {ok, State1}. --spec do(rebar_config:config()) -> {ok, rebar_config:config()} | relx:error(). +-spec do(rebar_state:t()) -> {ok, rebar_state:t()} | relx:error(). do(Config) -> shell(), {ok, Config}. |