From 57b7999843b2bfd3e0f097ae092963eae6ae9983 Mon Sep 17 00:00:00 2001 From: Sohan Honavar Date: Sat, 10 Feb 2024 02:41:11 +0530 Subject: [PATCH] Improved the GitHub link that is generated when the required scope of the token has mismatched with the present scope --- Library/Homebrew/utils/github/api.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/github/api.rb b/Library/Homebrew/utils/github/api.rb index bff224f126..f058762c19 100644 --- a/Library/Homebrew/utils/github/api.rb +++ b/Library/Homebrew/utils/github/api.rb @@ -208,7 +208,7 @@ module GitHub Your #{what} credentials do not have sufficient scope! Scopes required: #{needed_scopes} Scopes present: #{credentials_scopes} - #{GitHub.pat_blurb} + #{GitHub.pat_blurb(needed_scopes.split(", "))} EOS end