Skip to content

Commit f43acf7

Browse files
committed
Removed useless assignment
1 parent 3426f64 commit f43acf7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

legacy/builder/sketch_loader.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,12 @@ func (s *SketchLoader) Run(ctx *types.Context) error {
4242
sketchLocation = sketchLocation.Join(mainSketchStat.Name() + ".ino")
4343
}
4444

45-
ctx.SketchLocation = sketchLocation
46-
4745
sketch, err := sk.New(sketchLocation)
4846
if err != nil {
4947
return errors.WithStack(err)
5048
}
49+
5150
ctx.SketchLocation = sketchLocation
5251
ctx.Sketch = sketch
53-
5452
return nil
5553
}

0 commit comments

Comments
 (0)