Ver código fonte

properly compare list of opts and not against undefined

pull/323/head
Tristan Sloughter 10 anos atrás
pai
commit
aaf0b5c00a
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/rebar_erlc_compiler.erl

+ 1
- 1
src/rebar_erlc_compiler.erl Ver arquivo

@ -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.

Carregando…
Cancelar
Salvar