From 702ddf2f5b6eeebbb6b1516ee8599e010f170f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Fri, 6 Nov 2026 13:32:21 +0100 Subject: [PATCH] fix: Move "Downloading artifact" prompt to stderr This fixes piping rofl logs straight into jq. --- cmd/rofl/build/artifacts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/rofl/build/artifacts.go b/cmd/rofl/build/artifacts.go index 0d6f887d..4af42deb 100644 --- a/cmd/rofl/build/artifacts.go +++ b/cmd/rofl/build/artifacts.go @@ -31,8 +31,8 @@ const artifactCacheDir = "build_cache" // the hash provided in the URI fragment. func maybeDownloadArtifact(kind, uri string) string { if common.OutputFormat() != common.FormatJSON { - fmt.Printf("Downloading %s artifact...\n", kind) - fmt.Printf(" URI: %s\n", uri) + fmt.Fprintf(os.Stderr, "Downloading %s artifact...\n", kind) + fmt.Fprintf(os.Stderr, " URI: %s\n", uri) } url, err := url.Parse(uri)