Skip to content

Commit a86d4fb

Browse files
authored
Merge pull request #46 from arduino/fix_lint_warn
Fixed lint warning
2 parents 8d41e11 + 37d43f8 commit a86d4fb

File tree

1 file changed

+1
-1
lines changed
  • internal/libraries/db

1 file changed

+1
-1
lines changed

internal/libraries/db/db.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func (db *DB) Save(r io.Writer) error {
234234
}
235235

236236
func (db *DB) save(r io.Writer) error {
237-
buff, err := json.MarshalIndent(*db, "", " ")
237+
buff, err := json.MarshalIndent(db, "", " ")
238238
if err != nil {
239239
return err
240240
}

0 commit comments

Comments
 (0)