fix rebar.config.script for < otp 17.0
This commit is contained in:
parent
a46118ecb3
commit
6d589f6766
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
case os:getenv("JSX_NOMAPS") of
|
case os:getenv("JSX_NOMAPS") of
|
||||||
false ->
|
false ->
|
||||||
try file:script("config/maps") of {ok, true} ->
|
try file:script("config/maps") of
|
||||||
[{erl_opts, [{d, release_supports_maps}]}] ++ CONFIG
|
{ok, true} -> [{erl_opts, [{d, release_supports_maps}]}] ++ CONFIG;
|
||||||
|
_ -> CONFIG
|
||||||
catch _:_ -> CONFIG
|
catch _:_ -> CONFIG
|
||||||
end;
|
end;
|
||||||
_ -> CONFIG
|
_ -> CONFIG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue