Skip to content

Commit 0b25b46

Browse files
🚀 [Refactor]: Update module import statement in Connect-GitHubApp to use the correct module name, ensuring compatibility with the latest module structure.
1 parent a4e8543 commit 0b25b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/functions/public/Auth/Connect-GitHubApp.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157

158158
Write-Verbose "Found [$($selectedInstallations.Count)] installations for the target."
159159
$contextParamList = $selectedInstallations | ForEach-Object -ThrottleLimit $ThrottleLimit -Parallel {
160-
Import-Module -Name $script:PSModuleInfo.Name -RequiredVersion $script:PSModuleInfo.Version -Force -ErrorAction Stop
160+
Import-Module -Name $script:Module.Name -RequiredVersion $script:PSModuleInfo.ModuleVersion -Force -ErrorAction Stop
161161
$installation = $_
162162
Write-Verbose "Processing installation [$($installation.Target.Name)] [$($installation.id)]"
163163
$token = New-GitHubAppInstallationAccessToken -Context $Context -ID $installation.id

0 commit comments

Comments
 (0)