Преглед изворни кода

properly compare list of opts and not against undefined

pull/323/head
Tristan Sloughter пре 10 година
родитељ
комит
aaf0b5c00a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/rebar_erlc_compiler.erl

+ 1
- 1
src/rebar_erlc_compiler.erl Прегледај датотеку

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

Loading…
Откажи
Сачувај