We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afa8e14 commit 3e31b15Copy full SHA for 3e31b15
internal/arduino/sketch/sketch.go
@@ -116,13 +116,6 @@ func New(path *paths.Path) (*Sketch, error) {
116
117
// Collect files
118
for _, p := range sketchFolderFiles {
119
- // Skip files that can't be opened
120
- f, err := p.Open()
121
- if err != nil {
122
- continue
123
- }
124
- f.Close()
125
-
126
ext := p.Ext()
127
if globals.MainFileValidExtensions[ext] {
128
if p.EqualsTo(mainFile) {
0 commit comments