From e86c06c3902cc5d2f09b71bc0c985b4231f4a26e Mon Sep 17 00:00:00 2001 From: JP Simard Date: Thu, 4 May 2023 11:07:37 -0400 Subject: [PATCH] [SwiftLintCore] Make `focused()` public (#4959) So it can be used from SwiftLintBuiltInRules. I missed this when splitting the SwiftLintFramework module. --- Source/SwiftLintCore/Models/Example.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/SwiftLintCore/Models/Example.swift b/Source/SwiftLintCore/Models/Example.swift index 455bf8195..4d19d6a4e 100644 --- a/Source/SwiftLintCore/Models/Example.swift +++ b/Source/SwiftLintCore/Models/Example.swift @@ -120,7 +120,7 @@ extension Example { } /// Makes the current example focused. This is for debugging purposes only. - func focused() -> Example { // swiftlint:disable:this unused_declaration + public func focused() -> Example { // swiftlint:disable:this unused_declaration var new = self new.isFocused = true return new