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 fa2b4b0 commit faad865Copy full SHA for faad865
runner/src/main/java/com/codingame/gameengine/runner/ConfigHelper.java
@@ -404,7 +404,7 @@ public GameConfig findConfig(Path rootDir) throws IOException {
404
}
405
406
407
- } else if ("stub.txt".equals(fileName)) {
+ } else if ("stub.txt".equals(fileName) || "stub.json".equals(fileName)) {
408
questionConfig.setStubGenerator(FileUtils.readFileToString(p.toFile(), StandardCharsets.UTF_8));
409
} else if (statementMatcher.matches()) {
410
String content = FileUtils.readFileToString(p.toFile(), StandardCharsets.UTF_8);
0 commit comments