Skip to content

Commit 9a8d2bf

Browse files
committedJun 12, 2018
Pass location for file. #5206.
1 parent 814d3c1 commit 9a8d2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎core/src/main/java/org/jruby/runtime/load/LibrarySearcher.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public void load(Ruby runtime, boolean wrap) {
245245
try {
246246
ris = resource.inputStream();
247247

248-
RubyString processed = runtime.getLoadService().runLoadHooks(scriptName, ris);
248+
RubyString processed = runtime.getLoadService().runLoadHooks(location, ris);
249249
if (processed != null) {
250250
runtime.loadFile(scriptName, new LoadServiceResourceInputStream(processed.getBytes()), wrap);
251251
} else if (runtime.getInstanceConfig().getCompileMode().shouldPrecompileAll()) {

0 commit comments

Comments
 (0)
Please sign in to comment.