Skip to content

Commit a8c5782

Browse files
committed
chore: pr feedback
1 parent b1cf3c3 commit a8c5782

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

crates/fig_auth/src/builder_id.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,13 +548,11 @@ pub async fn poll_create_token(
548548

549549
/// Write credentials to ~/.aws/amazonq/creds.json
550550
pub async fn write_credentials_to_file(token: &BuilderIdToken) -> Result<()> {
551-
// Create credentials JSON
552551
let creds = serde_json::json!({
553552
"access_token": token.access_token.0.clone(),
554553
"region": token.region.clone(),
555554
});
556555

557-
// Create environment instance
558556
let path = credential_file_path()?;
559557
std::fs::write(&path, serde_json::to_string_pretty(&creds)?)?;
560558

0 commit comments

Comments
 (0)