Skip to content

Commit e19c21c

Browse files
mirkoCrobumirkoCrobu
authored andcommitted
fmt lint fix
1 parent 0a73143 commit e19c21c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/orchestrator/bricks/bricks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (s *Service) BricksDetails(id string) (BrickDetailsResult, error) {
154154
if err != nil {
155155
return BrickDetailsResult{}, fmt.Errorf("cannot open code examples for brick %s: %w", id, err)
156156
}
157-
var codeExamples []CodeExample = f.Map(examplePaths, func(p *paths.Path) CodeExample {
157+
var codeExamples = f.Map(examplePaths, func(p *paths.Path) CodeExample {
158158
return CodeExample{
159159
Path: p.String(),
160160
}

internal/orchestrator/bricks/bricks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func getTestApp(t *testing.T, appPath, appName string) app.ArduinoApp {
279279
assert.Equal(t, f.Must(filepath.Abs("testdata/"+appName+"/python/main.py")), app.MainPythonFile.String())
280280
// in case you want to test sketch based apps too
281281
// assert.NotNil(t, app.MainSketchPath)
282-
//assert.Equal(t, f.Must(filepath.Abs("testdata/"+appName+"/sketch")), app.MainSketchPath.String())
282+
// assert.Equal(t, f.Must(filepath.Abs("testdata/"+appName+"/sketch")), app.MainSketchPath.String())
283283
return app
284284
}
285285

0 commit comments

Comments
 (0)