Skip to content

Commit 07452c3

Browse files
committed
re-order logs
1 parent 0d53821 commit 07452c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Nudge/UI/Main.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
293293
}
294294
}
295295
if !foundVersion {
296-
requiredInstallationDate = selectedOS!.releaseDate?.addingTimeInterval(slaExtension) ?? DateManager().getCurrentDate().addingTimeInterval(TimeInterval(90 * 86400))
297296
LogManager.warning("Could not find requiredInstallationDate from target macOS \(targetVersion)", logger: sofaLog)
298-
LogManager.notice("Setting requiredInstallationDate via SOFA to \(requiredInstallationDate)", logger: sofaLog)
297+
requiredInstallationDate = selectedOS!.releaseDate?.addingTimeInterval(slaExtension) ?? DateManager().getCurrentDate().addingTimeInterval(TimeInterval(90 * 86400))
299298
}
300299
} else {
301300
requiredInstallationDate = selectedOS!.releaseDate?.addingTimeInterval(slaExtension) ?? DateManager().getCurrentDate().addingTimeInterval(TimeInterval(90 * 86400))

0 commit comments

Comments
 (0)