Skip to content

Commit

Permalink
Remove redundant Assert-GitHubContext call in Get-GitHubApp function
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Dec 15, 2024
1 parent 7cec758 commit fda9d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/public/Apps/GitHub Apps/Get-GitHubApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
$commandName = $MyInvocation.MyCommand.Name
Write-Debug "[$commandName] - Start"
$Context = Resolve-GitHubContext -Context $Context
Assert-GitHubContext -Context $Context -AuthType IAT, PAT, UAT

if ([string]::IsNullOrEmpty($Owner)) {
$Owner = $Context.Owner
}
Expand Down

0 comments on commit fda9d2f

Please sign in to comment.