Browse Source

properly compare list of opts and not against undefined

pull/323/head
Tristan Sloughter 10 years ago
parent
commit
aaf0b5c00a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_erlc_compiler.erl

+ 1
- 1
src/rebar_erlc_compiler.erl View File

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

Loading…
Cancel
Save