diff options
| author | Tristan Sloughter <t@crashfast.com> | 2015-04-10 10:41:56 -0500 |
|---|---|---|
| committer | Tristan Sloughter <t@crashfast.com> | 2015-04-10 10:42:08 -0500 |
| commit | aaf0b5c00a3bc408cd27415436ed56f17ba0c4c3 (patch) | |
| tree | e1214516d11f5661a08155a7cf5f004e230ff1f3 /src | |
| parent | 39a4ca0c041543aba68740c8e92af1b2af7be883 (diff) | |
properly compare list of opts and not against undefined
Diffstat (limited to 'src')
| -rw-r--r-- | src/rebar_erlc_compiler.erl | 2 |
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. |
