From d681ed2f2b4b727eef0d05b04894faae82e5964d Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Mon, 5 Jan 2026 18:04:53 -0700 Subject: [PATCH] Fixed lint --- codex-rs/core/src/auth.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/codex-rs/core/src/auth.rs b/codex-rs/core/src/auth.rs index 1f82caafd0..59e5f868e1 100644 --- a/codex-rs/core/src/auth.rs +++ b/codex-rs/core/src/auth.rs @@ -1598,12 +1598,7 @@ async fn load_stored_refresh_token_if_identity_matches( return Ok(None); }; - if !tokens - .id_token - .chatgpt_account_id - .as_deref() - .is_some_and(|account_id| account_id == expected_account_id) - { + if tokens.id_token.chatgpt_account_id.as_deref() != Some(expected_account_id) { return Ok(None); }