diff options
author | Alan Pearce | 2024-05-12 14:37:27 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-12 14:37:27 +0200 |
commit | ef50bbf934a3024fdb82c31f5dc38e017603a86f (patch) | |
tree | 790b5bf703ea463522562b316920ed0aa8d06040 | |
parent | 6a462c1356a505770a7a142745d394f52c151269 (diff) | |
download | searchix-ef50bbf934a3024fdb82c31f5dc38e017603a86f.tar.lz searchix-ef50bbf934a3024fdb82c31f5dc38e017603a86f.tar.zst searchix-ef50bbf934a3024fdb82c31f5dc38e017603a86f.zip |
fix(import): don't remove index if there are errors
now that we can update the index, this is no longer reasonable
-rw-r--r-- | import/main.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/import/main.go b/import/main.go index 0bff7ab..d9c3bf5 100644 --- a/import/main.go +++ b/import/main.go @@ -120,7 +120,6 @@ func main() { } if hadErrors { - os.RemoveAll(path.Join(cfg.DataPath, "index.bleve")) defer os.Exit(1) } } |