Skip to content

Commit

Permalink
Fixed line length
Browse files Browse the repository at this point in the history
  • Loading branch information
mildm8nnered committed Jun 27, 2023
1 parent 6a5d73c commit c899767
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/swiftlint/Commands/Configure.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ extension SwiftLint {
let deprecatedRuleIdentifiers = Set(RuleRegistry.shared.deprecatedRuleIdentifiers)
let undisabledDeprecatedRuleIdentifiers = deprecatedRuleIdentifiers.subtracting(ruleIdentifiersToDisable)
if undisabledDeprecatedRuleIdentifiers.isNotEmpty {
if askUser("\nDo you want to disable all (\(undisabledDeprecatedRuleIdentifiers.count)) of the deprecated rules?") {
let count = undisabledDeprecatedRuleIdentifiers.count
if askUser("\nDo you want to disable all (\(count)) of the deprecated rules?") {
ruleIdentifiersToDisable.append(contentsOf: undisabledDeprecatedRuleIdentifiers.sorted())
}
}
Expand Down

0 comments on commit c899767

Please sign in to comment.