From 02306978b8feee9e0dfb55fc9a175a3baea04d38 Mon Sep 17 00:00:00 2001 From: Daniel Villarreal Date: Fri, 10 Jun 2022 11:12:23 +0200 Subject: [PATCH 1/3] fix(buckets): Return as an array --- lib/buckets.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/buckets.ps1 b/lib/buckets.ps1 index 7254b7e592..fa3fc8d6c5 100644 --- a/lib/buckets.ps1 +++ b/lib/buckets.ps1 @@ -109,7 +109,7 @@ function list_buckets { Measure-Object | Select-Object -ExpandProperty Count $buckets += [PSCustomObject]$bucket } - $buckets + ,$buckets } function add_bucket($name, $repo) { From 1aa54c753435a5dcdf98a3ebc8c42ee9bfc73171 Mon Sep 17 00:00:00 2001 From: Daniel Villarreal Date: Fri, 10 Jun 2022 11:50:51 +0200 Subject: [PATCH 2/3] Updating changelog. Adding issue #4978 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c04b4faff..48700f2676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Bug Fixes +- **bucket:** Return $buckets as array ([#4978](https://github.com/ScoopInstaller/Scoop/issues/4978)) - **chore:** Deprecate tls1 and tls1.1 ([#4950](https://github.com/ScoopInstaller/Scoop/issues/4950)) - **chore:** Update Nonportable bucket URL ([#4955](https://github.com/ScoopInstaller/Scoop/issues/4955)) - **core:** Using `Invoke-Command` instead of `Invoke-Expression` ([#4941](https://github.com/ScoopInstaller/Scoop/issues/4941)) From a8ee246e47d6b74efff987306d8c84732fb8b52f Mon Sep 17 00:00:00 2001 From: Chawye Hsu Date: Fri, 10 Jun 2022 17:58:18 +0800 Subject: [PATCH 3/3] use pr number --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48700f2676..108b9dc227 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ ### Bug Fixes -- **bucket:** Return $buckets as array ([#4978](https://github.com/ScoopInstaller/Scoop/issues/4978)) +- **bucket:** Make sure `list_buckets` return array ([#4979](https://github.com/ScoopInstaller/Scoop/issues/4979)) - **chore:** Deprecate tls1 and tls1.1 ([#4950](https://github.com/ScoopInstaller/Scoop/issues/4950)) - **chore:** Update Nonportable bucket URL ([#4955](https://github.com/ScoopInstaller/Scoop/issues/4955)) - **core:** Using `Invoke-Command` instead of `Invoke-Expression` ([#4941](https://github.com/ScoopInstaller/Scoop/issues/4941))