summaryrefslogtreecommitdiff
path: root/src/rebar_hooks.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_hooks.erl')
-rw-r--r--src/rebar_hooks.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_hooks.erl b/src/rebar_hooks.erl
index 734c15b..56c4e91 100644
--- a/src/rebar_hooks.erl
+++ b/src/rebar_hooks.erl
@@ -67,6 +67,7 @@ run_hooks(Dir, Type, Command, State) ->
_ ->
[]
end,
+
Env = create_env(State),
lists:foreach(fun({_, C, _}=Hook) when C =:= Command ->
apply_hook(Dir, Env, Hook);