From 9ae89524a46fb73ef6e9db7470f159c3a62f20cf Mon Sep 17 00:00:00 2001 From: Roland Schaer Date: Sun, 9 Jun 2024 19:52:29 +0200 Subject: [PATCH] fix: github API rate limiting could be handled more explicitly (#2274) --- src/cli/self_update.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cli/self_update.rs b/src/cli/self_update.rs index 92e58ad28..067ddc520 100644 --- a/src/cli/self_update.rs +++ b/src/cli/self_update.rs @@ -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 {