summaryrefslogtreecommitdiff
path: root/src/rebar_prv_escriptize.erl
diff options
context:
space:
mode:
authorJames Fish <james@fishcakez.com>2015-03-18 00:52:29 +0000
committerJames Fish <james@fishcakez.com>2015-03-18 02:46:22 +0000
commit447fb1a02e14b315b308f328b421e280c5a9e274 (patch)
treee7aa0b50d0f1026f0604335c7478d02794498d3c /src/rebar_prv_escriptize.erl
parenta7d70074ffdbe802655d0cf471ae05b4a3d4f55f (diff)
Fix dialyzer warnings
Diffstat (limited to 'src/rebar_prv_escriptize.erl')
-rw-r--r--src/rebar_prv_escriptize.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_escriptize.erl b/src/rebar_prv_escriptize.erl
index d5708c5..69ac7fe 100644
--- a/src/rebar_prv_escriptize.erl
+++ b/src/rebar_prv_escriptize.erl
@@ -69,7 +69,7 @@ escriptize(State0) ->
[App] ->
App;
Apps ->
- case rebar_state:get(escript_main_app, State0, undefined) of
+ case rebar_state:get(State0, escript_main_app, undefined) of
undefined ->
?PRV_ERROR(no_main_app);
Name ->