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 Oct 3, 2023
1 parent d94c19b commit 4a359f9
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 4a359f9

Please sign in to comment.