Skip to content

Commit

Permalink
Pass location for file. #5206.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Jun 12, 2018
1 parent 814d3c1 commit 9a8d2bf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -245,7 +245,7 @@ public void load(Ruby runtime, boolean wrap) {
try {
ris = resource.inputStream();

RubyString processed = runtime.getLoadService().runLoadHooks(scriptName, ris);
RubyString processed = runtime.getLoadService().runLoadHooks(location, ris);
if (processed != null) {
runtime.loadFile(scriptName, new LoadServiceResourceInputStream(processed.getBytes()), wrap);
} else if (runtime.getInstanceConfig().getCompileMode().shouldPrecompileAll()) {
Expand Down

0 comments on commit 9a8d2bf

Please sign in to comment.