Skip to content

Commit

Permalink
re-order logs
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Jul 25, 2024
1 parent 0d53821 commit 07452c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Nudge/UI/Main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}
}
if !foundVersion {
requiredInstallationDate = selectedOS!.releaseDate?.addingTimeInterval(slaExtension) ?? DateManager().getCurrentDate().addingTimeInterval(TimeInterval(90 * 86400))
LogManager.warning("Could not find requiredInstallationDate from target macOS \(targetVersion)", logger: sofaLog)
LogManager.notice("Setting requiredInstallationDate via SOFA to \(requiredInstallationDate)", logger: sofaLog)
requiredInstallationDate = selectedOS!.releaseDate?.addingTimeInterval(slaExtension) ?? DateManager().getCurrentDate().addingTimeInterval(TimeInterval(90 * 86400))
}
} else {
requiredInstallationDate = selectedOS!.releaseDate?.addingTimeInterval(slaExtension) ?? DateManager().getCurrentDate().addingTimeInterval(TimeInterval(90 * 86400))
Expand Down

0 comments on commit 07452c3

Please sign in to comment.