summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-02 01:21:24 -0500
committerJeff Carr <[email protected]>2025-09-02 01:21:24 -0500
commit81343b3b66fdbca76790dd3ac340d6cb82d4540c (patch)
tree0608a66588be8fe0c8bd5aa96d85c781e9d98aed
parentdb079664c93f0c2a3619295f597883014eb058c5 (diff)
remove files if it seems close enough
-rw-r--r--doClean.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/doClean.go b/doClean.go
index 8a404d7..c30aee7 100644
--- a/doClean.go
+++ b/doClean.go
@@ -95,6 +95,10 @@ func cleanGeminiFile(fullname string) error {
if chat.AddGeminiRequest(fname, age, pb) {
me.chats.ConfigSave()
okExit("")
+ } else {
+ log.Info("file was perfect. os.Remove() here", fullname)
+ os.Remove(fullname)
+
}
}
return nil