Skip to content

Commit

Permalink
fix: github API rate limiting could be handled more explicitly (#2274)
Browse files Browse the repository at this point in the history
  • Loading branch information
roele authored Jun 9, 2024
1 parent 87957bc commit 9ae8952
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cli/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ use crate::{cmd, env};

/// Updates mise itself
///
/// Uses the GitHub Releases API to find the latest release and binary
/// By default, this will also update any installed plugins
/// Uses the GitHub Releases API to find the latest release and binary.
/// By default, this will also update any installed plugins.
/// Uses the `GITHUB_API_TOKEN` environment variable if set for higher rate limits.
#[derive(Debug, Default, clap::Args)]
#[clap(verbatim_doc_comment)]
pub struct SelfUpdate {
Expand Down

0 comments on commit 9ae8952

Please sign in to comment.