mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-18 22:49:10 +00:00
Do not log duplicates renamed if there is none
This commit is contained in:
parent
3a3d2460a8
commit
2273ebd8b5
@ -360,8 +360,10 @@ extension ProfileManager {
|
||||
renamedProfiles.append(uniqueProfile)
|
||||
}
|
||||
}
|
||||
strategy.saveProfiles(renamedProfiles)
|
||||
pp_log.debug("Duplicates successfully renamed!")
|
||||
if !renamedProfiles.isEmpty {
|
||||
strategy.saveProfiles(renamedProfiles)
|
||||
pp_log.debug("Duplicates successfully renamed!")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user