From 0c9444f45bf8777b3ef21850d4839dbb8b10aba0 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Mon, 28 Jul 2025 23:58:07 -0400 Subject: Remove todo contexts --- cmd/index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/index.go') diff --git a/cmd/index.go b/cmd/index.go index 358182c..f3fa23f 100644 --- a/cmd/index.go +++ b/cmd/index.go @@ -106,9 +106,9 @@ func RunIndex(gFlags GlobalFlags, iFlags IndexFlags, db *data.Query) byte { // switch in order to appease gopls... switch iFlags.Subcommand { case "build": - err = db.Put(idx) + err = db.Put(context.Background(), idx) case "update": - err = db.Update(idx) + err = db.Update(context.Background(), idx) } if err != nil { fmt.Fprintln(os.Stderr, "Error modifying index:", err) -- cgit v1.2.3