We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e1a56 commit b82596cCopy full SHA for b82596c
src/main/java/com/annimon/ownlang/parser/SourceLoader.java
@@ -10,7 +10,7 @@ public final class SourceLoader {
10
private SourceLoader() { }
11
12
public static String readSource(String name) throws IOException {
13
- InputStream is = SourceLoader.class.getResourceAsStream(name);
+ InputStream is = SourceLoader.class.getResourceAsStream("/" + name);
14
if (is != null) return readAndCloseStream(is);
15
16
is = new FileInputStream(name);
0 commit comments