Skip to content

Commit

Permalink
Do not start over any more
Browse files Browse the repository at this point in the history
  • Loading branch information
mildm8nnered committed Jul 19, 2023
1 parent d1a836b commit 9de9041
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Source/swiftlint/Commands/Configure.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ extension SwiftLint {
}

func run() async throws {
while try await configure() == false, auto == false {
if askUser("Do you want to start over?") == false {
break
}
}
_ = try await configure()
ExitHelper.successfullyExit()
}

Expand All @@ -45,7 +41,8 @@ extension SwiftLint {
topLevelDirectories,
allowZeroLintableFiles,
rulesIdentifiersToDisable,
analyzerRuleIdentifiers)
analyzerRuleIdentifiers
)
}

private func checkForExistingConfiguration() {
Expand Down

0 comments on commit 9de9041

Please sign in to comment.