Skip to content

Commit

Permalink
Update New-GitHubRepo.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Feb 12, 2025
1 parent a517b9b commit ec47a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/CippExtensions/Public/GitHub/New-GitHubRepo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function New-GitHubRepo {
}

# Check if repo exists
$Existing = Invoke-GitHubApiRequest -Path "$Path/$Name"
$Existing = Invoke-GitHubApiRequest -Path "$Path/$Name" -ErrorAction SilentlyContinue
if ($Existing.id) {
return $Existing
}
Expand Down

0 comments on commit ec47a15

Please sign in to comment.