Sfoglia il codice sorgente

properly compare list of opts and not against undefined

pull/323/head
Tristan Sloughter 10 anni fa
parent
commit
aaf0b5c00a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/rebar_erlc_compiler.erl

+ 1
- 1
src/rebar_erlc_compiler.erl Vedi File

@ -195,7 +195,7 @@ opts_changed(Opts, Target) ->
Compile = Mod:module_info(compile),
lists:sort(Opts) =/= lists:sort(proplists:get_value(options,
Compile,
undefined));
[]));
{error, _} -> true
end.

Caricamento…
Annulla
Salva