summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-16 19:06:24 +0200
committerewy <ewy0@protonmail.com>2026-05-16 19:06:24 +0200
commit00379affbb5f8483fcda9bcf2291106fac574110 (patch)
tree6659535afe2e244a65bc17b1b71047e28b07a662 /main.go
parente24077dcfa5e40d2c7888ff3cb4c10626e0e8c2c (diff)
fix bug :(
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 843be56..036504c 100644
--- a/main.go
+++ b/main.go
@@ -147,6 +147,9 @@ func pik() int {
if !*flags.All {
st, stateErrors = model.NewState(fs, locs, indexers, runners)
go func() {
+ if len(stateErrors) > 0 {
+ return
+ }
err := cache.Insert(st)
if err != nil {
spool.Warn("%v\n", err)