diff --git a/rebar.config.script b/rebar.config.script index 4d5ec7f..a9a0f2b 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -1,7 +1,8 @@ case os:getenv("JSX_NOMAPS") of false -> - try file:script("config/maps") of {ok, true} -> - [{erl_opts, [{d, release_supports_maps}]}] ++ CONFIG + try file:script("config/maps") of + {ok, true} -> [{erl_opts, [{d, release_supports_maps}]}] ++ CONFIG; + _ -> CONFIG catch _:_ -> CONFIG end; _ -> CONFIG