refactor(db): Removed the need to pass CloseMode to Db.Close.

This commit is contained in:
2025-11-07 14:40:57 -05:00
parent 1a3172dc6f
commit 5eaf691dcd
9 changed files with 21 additions and 22 deletions

View File

@@ -19,7 +19,7 @@ The check command reports on which binaries are available and which are not.`,
if err != nil {
return err
} else {
defer db.Close(app.ReadOnly)
defer db.Close()
features := db.Features()
table := tablewriter.NewWriter(os.Stdout)