We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arduino
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent db9c761 commit 8de0decCopy full SHA for 8de0dec
arduino/sketch/sketch.go
@@ -114,7 +114,7 @@ func New(path *paths.Path) (*Sketch, error) {
114
ext := p.Ext()
115
if _, found := globals.MainFileValidExtensions[ext]; found {
116
if p.EqualsTo(mainFile) {
117
- // The main file must be included in the lists of other files
+ // The main file must not be included in the lists of other files
118
continue
119
}
120
// file is a valid sketch file, see if it's stored at the
0 commit comments