We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2110980 commit 8f68c67Copy full SHA for 8f68c67
libexec/scoop-cache.ps1
@@ -25,7 +25,7 @@ function cacheshow($app) {
25
} else {
26
$app = '(' + ($app -join '|') + ')'
27
}
28
- $files = @(Get-ChildItem $cachedir | Where-Object -Property Name -Value "^$app#" -Match)
+ $files = @(Get-ChildItem (ensure $cachedir) | Where-Object -Property Name -Value "^$app#" -Match)
29
$totalLength = ($files | Measure-Object -Property Length -Sum).Sum
30
31
$files | ForEach-Object { cacheinfo $_ } | Select-Object Name, Version, Length
0 commit comments