Ripme now logs when it's forcing an update for testing
This commit is contained in:
parent
1adc0a9bf7
commit
9af46aad20
@ -161,6 +161,7 @@ public class UpdateUtils {
|
|||||||
private static boolean isNewerVersion(String latestVersion) {
|
private static boolean isNewerVersion(String latestVersion) {
|
||||||
// If we're testing the update utils we want the program to always try to update
|
// 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)) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
int[] oldVersions = versionStringToInt(getThisJarVersion());
|
int[] oldVersions = versionStringToInt(getThisJarVersion());
|
||||||
|
Loading…
Reference in New Issue
Block a user