Procházet zdrojové kódy

Fix return value of rebar:overlay/2

When 'rebar overlay' is run rebar_core got a wrong result
{Config, ok} from rebar_reltool instead of {ok, Config}.
pull/3/head
serge před 12 roky
rodič
revize
2d5bd56605
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/rebar_reltool.erl

+ 1
- 1
src/rebar_reltool.erl Zobrazit soubor

@ -67,7 +67,7 @@ generate(Config0, ReltoolFile) ->
overlay(Config, ReltoolFile) ->
%% Load the reltool configuration from the file
{Config1, ReltoolConfig} = rebar_rel_utils:load_config(Config, ReltoolFile),
{Config1, process_overlay(Config, ReltoolConfig)}.
{process_overlay(Config, ReltoolConfig), Config1}.
clean(Config, ReltoolFile) ->
{Config1, ReltoolConfig} = rebar_rel_utils:load_config(Config, ReltoolFile),

Načítá se…
Zrušit
Uložit