From a363e4f4add50b9ec36625959b58bff5b6c73921 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Tue, 31 Dec 2024 18:25:57 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=B2=20[Fix]:=20Fix=20so=20`Connect-Git?= =?UTF-8?q?Hub`=20runs=20Init=20(#246)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description This pull request includes a small change to the `src/functions/public/Auth/Connect-GitHubAccount.ps1` file. The change initializes the GitHub configuration at the beginning of the `Connect-GitHubAccount` function. * [`src/functions/public/Auth/Connect-GitHubAccount.ps1`](diffhunk://#diff-12918e90451cdedb78571b9a67ac0313331a25175cebb606b7108b7bf06af092R157): Added a call to `Initialize-GitHubConfig` in the `begin` block of the `Connect-GitHubAccount` function. ## Type of change - [ ] 📖 [Docs] - [x] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas --- src/functions/public/Auth/Connect-GitHubAccount.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functions/public/Auth/Connect-GitHubAccount.ps1 b/src/functions/public/Auth/Connect-GitHubAccount.ps1 index 81d18b5e7..5e35c2b42 100644 --- a/src/functions/public/Auth/Connect-GitHubAccount.ps1 +++ b/src/functions/public/Auth/Connect-GitHubAccount.ps1 @@ -154,6 +154,7 @@ begin { $stackPath = Get-PSCallStackPath Write-Debug "[$stackPath] - Start" + Initialize-GitHubConfig } process {