You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (Arrays.stream(envCheckEntry.stage()).noneMatch(entry -> entry == stage)) {
@@ -145,12 +146,15 @@ public ResultReport run(EnvCheckEntry.Stage stage) {
145
146
} else {
146
147
results.put(envCheckEntry, newResultContainer(CheckResult.SKIPPED, "Startup flag mark this check should be skipped."));
147
148
}
149
+
if (result.ordinal() > gResult.ordinal()) { //set bad result if its worse than the latest one.
150
+
gResult = result;
151
+
}
148
152
} catch (Exceptione) {
149
153
plugin.getLogger().log(Level.WARNING, "Failed to execute EnvCheckEntry [" + declaredMethod.getName() + "]: Exception thrown out without getting caught. Something went wrong!", e);
0 commit comments