优化代码

This commit is contained in:
刘祥超
2023-08-08 16:46:17 +08:00
parent 51f91e1603
commit 6de2834a8c
28 changed files with 71 additions and 87 deletions

View File

@@ -39,7 +39,7 @@ func (this *ServiceManager) setup() {
this.onceLocker.Do(func() {
logFile := files.NewFile(Tea.Root + "/logs/service.log")
if logFile.Exists() {
logFile.Delete()
_ = logFile.Delete()
}
//logger