fix: remove spaces in gh CLI --json args (formatter artifact)

This commit is contained in:
Jens Reinemann 2026-05-13 14:02:38 +02:00
parent 4cfc96b04a
commit fbac5fbcaf

View file

@ -13,7 +13,7 @@ $repo = "jreinemann-euris/krisenvorrat"
if ($IssueNumber -gt 0) {
# Variante A: Explizite Issue-Nummer
$json = gh issue view $IssueNumber --repo $repo --json number, title, labels | ConvertFrom-Json
$json = gh issue view $IssueNumber --repo $repo --json number,title,labels | ConvertFrom-Json
$labels = $json.labels | ForEach-Object { $_.name }
$type = if ($labels -contains "block-planning") { "[B]" }
elseif ($labels -contains "migration") { "[M]" }