summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-10 10:41:56 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-10 10:42:08 -0500
commitaaf0b5c00a3bc408cd27415436ed56f17ba0c4c3 (patch)
treee1214516d11f5661a08155a7cf5f004e230ff1f3
parent39a4ca0c041543aba68740c8e92af1b2af7be883 (diff)
properly compare list of opts and not against undefined
-rw-r--r--src/rebar_erlc_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 6b51642..b78a1f5 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/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.