Selaa lähdekoodia

Reverse relx args order for config

With the new priority order, and knowing Relx processes things in
reverse already (possibly building a dict internally), we should flip
our options around to keep them correct.
pull/290/head
Fred Hebert 10 vuotta sitten
vanhempi
commit
3e7a58ccd6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/rebar_prv_release.erl

+ 1
- 1
src/rebar_prv_release.erl Näytä tiedosto

@ -47,7 +47,7 @@ do(State) ->
,{caller, Caller}], AllOptions);
Config ->
relx:main([{lib_dirs, LibDirs}
,{config, Config}
,{config, lists:reverse(Config)}
,{output_dir, OutputDir}
,{caller, Caller}], AllOptions)
end,

Ladataan…
Peruuta
Tallenna