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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue