Skip to content

Commit 25f25b4

Browse files
committed
fix(cleanup): Hotfix for #4681
1 parent aa61f19 commit 25f25b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libexec/scoop-cleanup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function cleanup($app, $global, $verbose, $cache) {
4949
Write-Host " $version" -NoNewline
5050
$dir = versiondir $app $version $global
5151
# unlink all potential old link before doing recursive Remove-Item
52-
unlink_persist_data $manifest $dir
52+
unlink_persist_data (installed_manifest $app $version $global) $dir
5353
Remove-Item $dir -ErrorAction Stop -Recurse -Force
5454
}
5555
$leftVersions = Get-ChildItem $appDir

0 commit comments

Comments
 (0)