diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-28 23:58:07 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-28 23:58:07 -0400 |
| commit | 0c9444f45bf8777b3ef21850d4839dbb8b10aba0 (patch) | |
| tree | 904a79c99958b9e89eb764d2226f10dd3ed42e62 /cmd/index.go | |
| parent | 209af758b64d586e1c0aec3ad2eb4b56740aeddf (diff) | |
Remove todo contexts
Diffstat (limited to 'cmd/index.go')
| -rw-r--r-- | cmd/index.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
