Update client/internal/debug/debug.go

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Theodor Midtlien
2026-09-15 15:51:05 +02:00
committed by GitHub
co-authored by cubic-dev-ai[bot]
parent 8a7dbe8cf3
commit 106dd0365d
+1 -1
View File
@@ -827,7 +827,7 @@ func collectProfilesInDir(dir string, active *profilemanager.ActiveProfileState)
}
func isProfileJSON(name string) bool {
return strings.HasSuffix(name, profileJSONSuffix) && !strings.HasSuffix(name, profileStateJSONSuffix)
return strings.HasSuffix(name, profileJSONSuffix) && !strings.HasSuffix(name, profileStateJSONSuffix) && !strings.HasSuffix(name, ".prefs.json")
}
func newProfileEntry(id, path string, active *profilemanager.ActiveProfileState) profileEntry {