Skip to content

Commit

Permalink
🪲 [Fix]: Fix so Connect-GitHub runs Init (#246)
Browse files Browse the repository at this point in the history
## 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

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [x] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
  • Loading branch information
MariusStorhaug authored Dec 31, 2024
1 parent ac5586a commit a363e4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/functions/public/Auth/Connect-GitHubAccount.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
begin {
$stackPath = Get-PSCallStackPath
Write-Debug "[$stackPath] - Start"
Initialize-GitHubConfig
}

process {
Expand Down

0 comments on commit a363e4f

Please sign in to comment.