diff options
-rw-r--r-- | src/rebar_agent.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_agent.erl b/src/rebar_agent.erl index 5d6b050..72bbe44 100644 --- a/src/rebar_agent.erl +++ b/src/rebar_agent.erl @@ -137,9 +137,9 @@ reload_modules(Modules, true) -> {error, ModRsns} -> Blacklist = (fun Error([], Acc) -> Acc; - Error([ {ModError, on_load_not_allowed} |T], Acc) -> - reload_modules([ModError], false), - Error(T, Acc); + Error([ {ModNif, on_load_not_allowed} |T], Acc) -> + reload_modules([ModNif], false), + Error(T, [ModNif|Acc]); Error([ {ModError, _} |T], Acc) -> Error(T, [ModError|Acc]) end)(ModRsns, []), |