diff --git a/client/internal/debug/debug.go b/client/internal/debug/debug.go index 749f47a8d..20dc87b7e 100644 --- a/client/internal/debug/debug.go +++ b/client/internal/debug/debug.go @@ -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 {