We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4f180 commit 93ac8deCopy full SHA for 93ac8de
print_preprocessed_source.go
@@ -30,13 +30,16 @@
30
package builder
31
32
import (
33
- "github.com/arduino/arduino-builder/types"
34
"fmt"
+
35
+ "github.com/arduino/arduino-builder/types"
36
)
37
38
type PrintPreprocessedSource struct{}
39
40
func (s *PrintPreprocessedSource) Run(ctx *types.Context) error {
- fmt.Println(ctx.SourceGccMinusE)
41
+ if ctx.SourceGccMinusE != "" {
42
+ fmt.Println(ctx.SourceGccMinusE)
43
+ }
44
return nil
45
}
0 commit comments