Skip to content

Commit

Permalink
Honor GitHub brand name casing (#208503)
Browse files Browse the repository at this point in the history
  • Loading branch information
solimant authored Mar 25, 2024
1 parent b0d975f commit 9b22c85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl Display for AuthProvider {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
AuthProvider::Microsoft => write!(f, "Microsoft Account"),
AuthProvider::Github => write!(f, "Github Account"),
AuthProvider::Github => write!(f, "GitHub Account"),
}
}
}
Expand Down Expand Up @@ -144,7 +144,7 @@ impl StoredCredential {
let res = match res {
Ok(r) => r,
Err(e) => {
warning!(log, "failed to check Github token: {}", e);
warning!(log, "failed to check GitHub token: {}", e);
return false;
}
};
Expand All @@ -154,7 +154,7 @@ impl StoredCredential {
}

let err = StatusError::from_res(res).await;
debug!(log, "github token looks expired: {:?}", err);
debug!(log, "GitHub token looks expired: {:?}", err);
true
}
}
Expand Down Expand Up @@ -678,7 +678,7 @@ impl Auth {
if !*IS_INTERACTIVE_CLI {
info!(
self.log,
"Using Github for authentication, run `{} tunnel user login --provider <provider>` option to change this.",
"Using GitHub for authentication, run `{} tunnel user login --provider <provider>` option to change this.",
APPLICATION_NAME
);
return Ok(AuthProvider::Github);
Expand Down

0 comments on commit 9b22c85

Please sign in to comment.