[SwiftLintCore] Make `focused()` public (#4959)

So it can be used from SwiftLintBuiltInRules.

I missed this when splitting the SwiftLintFramework module.
This commit is contained in:
JP Simard 2023-05-04 11:07:37 -04:00 committed by GitHub
parent 6b094dd711
commit e86c06c390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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