Don't log missing module/main class when silent

This commit is contained in:
Erik C. Thauvin 2025-11-14 13:52:54 -08:00
parent 51a3f1162e
commit f5dfb11e4e
No known key found for this signature in database
GPG key ID: 776702A6A2DA330E

View file

@ -49,7 +49,7 @@ public class RunOperation extends AbstractProcessOperation<RunOperation> {
else if (mainClass() != null && !mainClass().isEmpty()){
args.add(mainClass());
}
else {
else if (!silent()) {
System.err.println("No main class or module specified.");
}