diff options
Diffstat (limited to 'src/rebar_prv_escriptize.erl')
-rw-r--r-- | src/rebar_prv_escriptize.erl | 2 |
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 -> |