Skip to content

Commit 38c71e9

Browse files
committed
style
1 parent aac3d81 commit 38c71e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino/builder/sketch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ func SketchSaveItemCpp(item *sketch.Item, destPath string) error {
6060

6161
// SimpleLocalWalk locally replaces filepath.Walk and/but goes through symlinks
6262
func SimpleLocalWalk(root string, walkFn func(path string, info os.FileInfo, err error) error) error {
63+
6364
info, err := os.Stat(root)
6465

6566
if err != nil {
@@ -115,7 +116,6 @@ func SketchLoad(sketchPath, buildPath string) (*sketch.Sketch, error) {
115116
// collect all the sketch files
116117
var files []string
117118
err = SimpleLocalWalk(sketchFolder, func(path string, info os.FileInfo, err error) error {
118-
119119
// ignore hidden files and skip hidden directories
120120
if strings.HasPrefix(info.Name(), ".") {
121121
if info.IsDir() {

0 commit comments

Comments
 (0)