From 3c951fbc49ca48516e451918ddc672d4499aea1f Mon Sep 17 00:00:00 2001 From: Saad Assaf Date: Mon, 10 Aug 2026 15:22:10 +0200 Subject: [PATCH] return empty list for -o yaml when nothing is found --- get/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get/get.go b/get/get.go index 952156da..3d4ed5c2 100644 --- a/get/get.go +++ b/get/get.go @@ -163,7 +163,7 @@ func (out *output) writeTabRow(project string, row ...string) { } func (out *output) notFound(kind, project string) error { - if out.Format == jsonOut { + if out.Format == jsonOut || out.Format == yamlOut { out.Printf("[]") return nil }