From c2563f2ea353198339a0cc7d03951976f66506c4 Mon Sep 17 00:00:00 2001 From: Martin Redington Date: Wed, 30 Aug 2023 19:15:57 +0100 Subject: [PATCH] Hacked around reporter identifiers --- Source/swiftlint/Commands/Configure.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/swiftlint/Commands/Configure.swift b/Source/swiftlint/Commands/Configure.swift index 615c37491fd..1f725178cdc 100644 --- a/Source/swiftlint/Commands/Configure.swift +++ b/Source/swiftlint/Commands/Configure.swift @@ -139,7 +139,7 @@ extension SwiftLint { useExcludingByPrefix: false, useScriptInputFiles: false, benchmark: false, - reporter: SummaryReporter.identifier, + reporter: "summary", // SummaryReporter.identifier, quiet: false, output: nil, progress: true, @@ -181,7 +181,8 @@ extension SwiftLint { } private func reporterIdentifier() -> String { - var reporterIdentifier = XcodeReporter.identifier + // var reporterIdentifier = XcodeReporter.identifier + var reporterIdentifier = "xcode" if askUser("Do you want to use the default (\(reporterIdentifier) reporter?") { return reporterIdentifier }