From d10bd8d3ee7270bcfcd2a12a228e53505aacd94d Mon Sep 17 00:00:00 2001 From: Chawye Hsu Date: Thu, 25 Apr 2024 20:02:32 +0800 Subject: [PATCH 1/2] fix(core): Fix `Invoke-ExternalCommand` regression (#5923) Co-authored-by: Hsiao-nan Cheung --- CHANGELOG.md | 6 ++++++ lib/core.ps1 | 11 ++++++++--- test/Scoop-Decompress.Tests.ps1 | 28 +++++++++++++++++++++++++--- 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00e336583e..bb6770b6c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [Unreleased](https://github.com/ScoopInstaller/Scoop/compare/master...develop) + +### Bug Fixes + +- **core:** Fix `Invoke-ExternalCommand` regression ([#5923](https://github.com/ScoopInstaller/Scoop/issues/5923)) + ## [v0.4.0](https://github.com/ScoopInstaller/Scoop/compare/v0.3.1...v0.4.0) - 2024-04-18 ### Features diff --git a/lib/core.ps1 b/lib/core.ps1 index cf60f27e4c..1ac304ded5 100644 --- a/lib/core.ps1 +++ b/lib/core.ps1 @@ -747,9 +747,14 @@ function Invoke-ExternalCommand { } if ($ArgumentList.Length -gt 0) { $ArgumentList = $ArgumentList | ForEach-Object { [regex]::Split($_.Replace('"', ''), '(?<=(? Date: Thu, 25 Apr 2024 20:07:11 +0800 Subject: [PATCH 2/2] docs(changelog): Prepare release Signed-off-by: Chawye Hsu --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb6770b6c0..d6e1f79248 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## [Unreleased](https://github.com/ScoopInstaller/Scoop/compare/master...develop) +## [v0.4.1](https://github.com/ScoopInstaller/Scoop/compare/v0.4.0...v0.4.1) - 2024-04-25 ### Bug Fixes