aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/index
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/index')
-rw-r--r--pkg/index/filters.go2
-rw-r--r--pkg/index/index.go1
2 files changed, 1 insertions, 2 deletions
diff --git a/pkg/index/filters.go b/pkg/index/filters.go
index a60a629..920d5df 100644
--- a/pkg/index/filters.go
+++ b/pkg/index/filters.go
@@ -11,7 +11,7 @@ import (
"strings"
)
-// NOTE: in the future it would be interesting lua filters
+// TODO: add support for lua filters
type DocFilter struct {
Name string
diff --git a/pkg/index/index.go b/pkg/index/index.go
index a35b670..d49636f 100644
--- a/pkg/index/index.go
+++ b/pkg/index/index.go
@@ -366,7 +366,6 @@ func ParseDocs(paths []string, numWorkers uint, opts ParseOpts) map[string]*Docu
for path := range jobs {
doc, err := ParseDoc(path, opts)
if err != nil {
- // TODO: propagate error
slog.Error("Error occured while parsing file",
slog.String("path", path), slog.String("err", err.Error()),
)