Skip to content

Commit decdda5

Browse files
author
Sylvain Fraïssé
committed
refactor: allow no source files
Could be used for static viewer without java sources
1 parent 21299b8 commit decdda5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/com/codingame/codemachine/compiler/java/CodinGameJavaCompiler.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,8 @@ public static void main(String... args) throws IOException {
9999
}
100100
}
101101
resultCode = success ? 0 : 1;
102-
}
103-
else {
104-
System.err.println("no source file");
105-
resultCode = 2;
102+
} else {
103+
resultCode = 0;
106104
}
107105
}
108106

0 commit comments

Comments
 (0)