Skip to content

Commit b551106

Browse files
chawyehsubrian6932
authored andcommitted
fix(scoop-cache): Fix regression in 36026f1 (ScoopInstaller#5944)
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
1 parent e1e44a4 commit b551106

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- **autoupdate:** Copy `PSCustomObject`-type properties within `substitute()` to prevent reference changes ([#5934](https://github.com/ScoopInstaller/Scoop/issues/5934), [#5962](https://github.com/ScoopInstaller/Scoop/issues/5962))
1313
- **core:** Fix `Invoke-ExternalCommand` quoting rules ([#5945](https://github.com/ScoopInstaller/Scoop/issues/5945))
1414
- **system:** Fix argument passing to `Split-PathLikeEnvVar()` in deprecated `strip_path()` ([#5937](https://github.com/ScoopInstaller/Scoop/issues/5937))
15+
- **scoop-cache:** Fix regression in 36026f18 ([#5944](https://github.com/ScoopInstaller/Scoop/issues/5944))
1516

1617
## [v0.4.1](https://github.com/ScoopInstaller/Scoop/compare/v0.4.0...v0.4.1) - 2024-04-25
1718

libexec/scoop-cache.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function cacheremove($app) {
4848

4949
$files | ForEach-Object {
5050
$curr = cacheinfo $_
51-
Write-Host "Removing $($curr.URL)..."
51+
Write-Host "Removing $($_.Name)..."
5252
Remove-Item $_.FullName
5353
if(Test-Path "$cachedir\$($curr.Name).txt") {
5454
Remove-Item "$cachedir\$($curr.Name).txt"

0 commit comments

Comments
 (0)