fix(count-auto): suppress debug output

This commit is contained in:
Castor Regex 2025-08-24 13:11:19 -05:00 committed by Jeff Carr
parent b03889101d
commit 9c7d2a9c9e
1 changed files with 7 additions and 5 deletions

12
main.go
View File

@ -46,11 +46,13 @@ func main() {
} }
me.chats = chatpb.NewChats() me.chats = chatpb.NewChats()
if err := me.chats.ConfigLoad(); err != nil { if !argv.CountAuto {
badExit(err) if err := me.chats.ConfigLoad(); err != nil {
} badExit(err)
if verifyUuids(me.chats) { }
me.chats.ConfigSave() if verifyUuids(me.chats) {
me.chats.ConfigSave()
}
} }
if argv.CountAuto { if argv.CountAuto {