diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_utils.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index 0ac6cf1..e7d22fa 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -116,6 +116,7 @@ abort(String, Args) -> %% this function when the time is right. escript:foldl/3 was an %% undocumented exported fun and is going to be removed post-R13B04. escript_foldl(Fun, Acc, File) -> + {module, zip} = code:ensure_loaded(zip), case erlang:function_exported(zip, foldl, 3) of true -> emulate_escript_foldl(Fun, Acc, File); |