From 5ee2d75b4573296a755d8f5de2147d40c4a94905 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 9 Jan 2025 15:03:15 +0100 Subject: [PATCH] Fixed output channel for stderr in sketch preprocessing --- internal/arduino/builder/preprocess_sketch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/arduino/builder/preprocess_sketch.go b/internal/arduino/builder/preprocess_sketch.go index 86d7bd7e7e9..b7fe178db02 100644 --- a/internal/arduino/builder/preprocess_sketch.go +++ b/internal/arduino/builder/preprocess_sketch.go @@ -32,7 +32,7 @@ func (b *Builder) preprocessSketch(includes paths.PathList) error { if b.logger.Verbose() { b.logger.WriteStdout(result.Stdout()) } - b.logger.WriteStdout(result.Stderr()) + b.logger.WriteStderr(result.Stderr()) b.diagnosticStore.Parse(result.Args(), result.Stderr()) }