Use SwiftFormat version 0.48.x
This commit is contained in:
parent
56a5cbe5cb
commit
7cbc14978a
6 changed files with 9 additions and 5 deletions
|
|
@ -371,7 +371,7 @@ class PasswordEditorTableViewController: UITableViewController {
|
|||
var previousPathLength = Int.max
|
||||
while passwordURL.path != "." {
|
||||
passwordURL = passwordURL.deletingLastPathComponent()
|
||||
if passwordURL.path != "." && passwordURL.path.count >= previousPathLength {
|
||||
if passwordURL.path != ".", passwordURL.path.count >= previousPathLength {
|
||||
Utils.alert(title: "CannotSave".localize(), message: "CannotParseFilename.".localize(), controller: self, completion: nil)
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue