Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -234,9 +234,8 @@ public ResourceLibrary(String searchName, String scriptName, FileResource resour
public void load(Ruby runtime, boolean wrap) {
InputStream is;
try {
is = new LoadServiceResourceInputStream(resource.inputStream());
}
catch(IOException e) {
is = new BufferedInputStream(resource.inputStream(), 32768);
} catch(IOException e) {
throw runtime.newLoadError("no such file to load -- " + searchName, searchName);
}

0 comments on commit a023fd3

Please sign in to comment.