Ripme now logs when it's forcing an update for testing

This commit is contained in:
cyian-1756 2018-06-02 16:14:48 -04:00
parent 1adc0a9bf7
commit 9af46aad20

View File

@ -161,6 +161,7 @@ public class UpdateUtils {
private static boolean isNewerVersion(String latestVersion) {
// If we're testing the update utils we want the program to always try to update
if (Utils.getConfigBoolean("testing.always_try_to_update", false)) {
logger.info("isNewerVersion is returning true because the key \"testing.always_try_to_update\" is true");
return true;
}
int[] oldVersions = versionStringToInt(getThisJarVersion());