fix(test): stabilize cron output capture and clippy cleanups

This commit is contained in:
Chummy 2026-02-18 18:15:48 +08:00
parent 483acccdb7
commit 50fd5b81e1
7 changed files with 20 additions and 19 deletions

View file

@ -849,7 +849,7 @@ fn format_expiry(profile: &auth::profiles::AuthProfile) -> String {
match profile
.token_set
.as_ref()
.and_then(|token_set| token_set.expires_at.as_ref().cloned())
.and_then(|token_set| token_set.expires_at)
{
Some(ts) => {
let now = chrono::Utc::now();