Closed Ash258 closed 5 years ago
Entrypoint.ps1
if (-not (Test-Path $BUCKET_ROOT\bucket)) {
$js = Invoke-GithubRequest ".../issues/" | Select-Object -ExpandProperty Content | ConvertFrom-Json
$js | Where-Object { $_.Author -eq 'Me' -and $_.Title -eq 'Use nested bucket' }
if (-not $js) { New-Issue }
}
This will save me lots of checks and my sanity.
If bucket do not have nested bucket folder fail and create new issue about this