From aaf0b5c00a3bc408cd27415436ed56f17ba0c4c3 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Fri, 10 Apr 2015 10:41:56 -0500 Subject: properly compare list of opts and not against undefined --- src/rebar_erlc_compiler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.1