From e8e00d4cb898e60123b097f0cf3f186639e24f0b Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Tue, 23 Sep 2025 09:31:06 +0800 Subject: [PATCH] refactor(watcher): Remove unnecessary log separator --- internal/watcher/watcher.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/watcher/watcher.go b/internal/watcher/watcher.go index 905d1908..7d1f43fd 100644 --- a/internal/watcher/watcher.go +++ b/internal/watcher/watcher.go @@ -26,7 +26,7 @@ import ( // "github.com/router-for-me/CLIProxyAPI/v6/internal/client" "github.com/router-for-me/CLIProxyAPI/v6/internal/config" // "github.com/router-for-me/CLIProxyAPI/v6/internal/interfaces" - "github.com/router-for-me/CLIProxyAPI/v6/internal/misc" + "github.com/router-for-me/CLIProxyAPI/v6/internal/util" coreauth "github.com/router-for-me/CLIProxyAPI/v6/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" @@ -807,7 +807,6 @@ func (w *Watcher) loadFileClients(cfg *config.Config) int { } if !info.IsDir() && strings.HasSuffix(strings.ToLower(info.Name()), ".json") { authFileCount++ - misc.LogCredentialSeparator() log.Debugf("processing auth file %d: %s", authFileCount, filepath.Base(path)) // Count readable JSON files as successful auth entries if data, errCreate := util.ReadAuthFileWithRetry(path, authFileReadMaxAttempts, authFileReadRetryDelay); errCreate == nil && len(data) > 0 {