Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Dec 6, 2024
1 parent 6437643 commit 86f99c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/functions/private/Auth/Context/Resolve-GitHubContext.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
[object] $Context = (Get-GitHubContext)
)

if ($Context -is [GitHubContext]) {
return $Context
}

if ([string]::IsNullOrEmpty($Context)) {
throw "No contexts has been specified. Please provide a context or log in using 'Connect-GitHub'."
}
Expand Down

0 comments on commit 86f99c0

Please sign in to comment.