Enable SwiftLint rule 'switch_case_on_newline' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-05 23:10:42 +02:00 committed by Mingshen Sun
parent 79dbac4e9e
commit 1b1bd46235
3 changed files with 5 additions and 3 deletions

View file

@ -132,7 +132,8 @@ class GitRepositorySettingsTableViewController: UITableViewController {
Utils.alert(title: "CannotSave".localize(), message: "CheckEnteredUsername.".localize(), controller: self)
return
}
case "file": break
case "file":
break
default:
Utils.alert(title: "CannotSave".localize(), message: "Protocol is not supported", controller: self)
return