From c6a362a039b1662dfc0badeb8badc4458e446787 Mon Sep 17 00:00:00 2001 From: ewy Date: Wed, 22 Apr 2026 19:47:29 +0200 Subject: work out the "default" behaviour a little better --- indexers/pikdex/index.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indexers/pikdex/index.go') diff --git a/indexers/pikdex/index.go b/indexers/pikdex/index.go index 9a54502..aec6b00 100644 --- a/indexers/pikdex/index.go +++ b/indexers/pikdex/index.go @@ -73,7 +73,9 @@ func (u *pikdex) Index(absPath string, f fs.FS, runners []model.Runner) ([]model return nil, err } var targets []model.Target + u.Lock() mod := u.mods[absPath] + u.Unlock() if mod == nil { u.mods[absPath] = &SourceData{ Path: absPath, -- cgit v1.3.1