Explorar el Código

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 hace 12 años
padre
commit
2d5bd56605
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/rebar_reltool.erl

+ 1
- 1
src/rebar_reltool.erl Ver fichero

@ -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),

Cargando…
Cancelar
Guardar