Skip to content

Commit c55ec6e

Browse files
committed
Apply suggestion from code review
1 parent 4e2a650 commit c55ec6e

File tree

1 file changed

+1
-1
lines changed
  • internal/arduino/builder/internal/preprocessor

1 file changed

+1
-1
lines changed

internal/arduino/builder/internal/preprocessor/gcc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ func GCC(
9090
n, err := stderr.Write(p)
9191
count += n
9292
if count > 100*1024 {
93-
cancel()
9493
fmt.Fprintln(stderr, i18n.Tr("Compiler error output has been truncated."))
94+
cancel()
9595
}
9696
return n, err
9797
})

0 commit comments

Comments
 (0)