chore: anchor golangci exclusion paths to directories (#39116)

Co-authored-by: Claude (Opus 5) <noreply@anthropic.com>
This commit is contained in:
silverwind
2026-08-25 16:36:45 +00:00
committed by GitHub
co-authored by Claude
parent c8660364d9
commit 1680ac24e6
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ func IsViteDevMode() bool {
now := time.Now()
lastCheck := viteDevModeCheck.Load()
if lastCheck != nil && time.Now().Sub(lastCheck.time) < time.Second {
if lastCheck != nil && now.Sub(lastCheck.time) < time.Second {
return lastCheck.isDev
}