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 c0dce0e commit 1eb2609Copy full SHA for 1eb2609
1 file changed
lib/buckets.ps1
@@ -18,15 +18,15 @@ function known_bucket_repo($name) {
18
}
19
20
function apps_in_bucket($dir) {
21
- Get-ChildItem $dir | Where-Object { $_.name.endswith('.json') } | ForEach-Object { $_ -replace '.json$', '' }
+ return Get-ChildItem $dir | Where-Object { $_.Name.endswith('.json') } | ForEach-Object { $_.Name -replace '.json$', '' }
22
23
24
function buckets {
25
$buckets = @()
26
if(test-path $bucketsdir) {
27
- Get-ChildItem $bucketsdir | ForEach-Object { $buckets += $_.name }
+ Get-ChildItem $bucketsdir | ForEach-Object { $buckets += $_.Name }
28
29
- $buckets
+ return $buckets
30
31
32
function find_manifest($app, $bucket) {
0 commit comments