From bc8daa310135c5f9ba9cfc26b39a71a905a9c490 Mon Sep 17 00:00:00 2001 From: Tunisiano18 Date: Wed, 18 Dec 2024 08:07:30 +0000 Subject: [PATCH] Get-GitHubRelease require switches Solve #2584 --- .github/CODEOWNERS | 2 +- automatic/waterfox/update.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fac01f7e252..47b6c243ff2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -24,7 +24,7 @@ */jubler* @AdmiringWorm */juju* @AdmiringWorm */transifex* @chocolatey-community/chocolatey-team-maintainers -*/waterfox* @AdmiringWorm +*/waterfox* @AdmiringWorm @tunisiano187 */composer* @johnstevenson */k9s* @danielkoek */krew* @jetersen diff --git a/automatic/waterfox/update.ps1 b/automatic/waterfox/update.ps1 index 93f91801a29..9e4b37c2585 100644 --- a/automatic/waterfox/update.ps1 +++ b/automatic/waterfox/update.ps1 @@ -48,7 +48,7 @@ function Get-Waterfox { ) switch ($Build) { "Classic" { - $LatestRelease = Get-GitHubRelease WaterfoxCo Waterfox-Classic + $LatestRelease = Get-GitHubRelease -OwnerName WaterfoxCo -RepositoryName Waterfox-Classic @{ PackageName = "waterfox-classic" @@ -61,7 +61,7 @@ function Get-Waterfox { } "Current" { - $LatestRelease = Get-GitHubRelease WaterfoxCo Waterfox + $LatestRelease = Get-GitHubRelease -OwnerName WaterfoxCo -RepositoryName Waterfox $TagVersion = $LatestRelease.tag_name @{