Skip to content

Commit f6153ba

Browse files
committed
Fixed linter warning
1 parent b5b371f commit f6153ba

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/ctags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func filterSketchSource(sketch *sketch.Sketch, source io.Reader, removeLineMarke
235235
filtered += line + "\n"
236236
}
237237
}
238-
if scanner.Err() == bufio.ErrTooLong {
238+
if errors.Is(scanner.Err(), bufio.ErrTooLong) {
239239
fmt.Fprintf(stderr, "%s: %s",
240240
i18n.Tr("An error occurred adding prototypes"),
241241
i18n.Tr("line too long\n"))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy