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 937f2da commit 133ebd1Copy full SHA for 133ebd1
arduino/sketch/sketch.go
@@ -166,8 +166,12 @@ func (s *Sketch) supportedFiles() (*paths.PathList, error) {
166
validExtensions = append(validExtensions, ext)
167
}
168
169
+ filterOutBuildPaths := func(p *paths.Path) bool {
170
+ return !p.Join("build.options.json").Exist()
171
+ }
172
+
173
files, err := s.FullPath.ReadDirRecursiveFiltered(
- nil,
174
+ filterOutBuildPaths,
175
paths.AndFilter(
176
paths.FilterOutPrefixes("."),
177
paths.FilterSuffixes(validExtensions...),
0 commit comments