summaryrefslogtreecommitdiff
path: root/src/rebar_templater.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_templater.erl')
-rw-r--r--src/rebar_templater.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_templater.erl b/src/rebar_templater.erl
index 7fe9241..ca35b26 100644
--- a/src/rebar_templater.erl
+++ b/src/rebar_templater.erl
@@ -258,7 +258,7 @@ cache_escript_files(State) ->
fun(Name, _, GetBin, Acc) ->
[{Name, GetBin()} | Acc]
end,
- [], rebar_state:get(State, escript)),
+ [], rebar_state:escript_path(State)),
Files.
%% Find all the template indexes hiding in the rebar3 escript.