[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:
parent
6b094dd711
commit
e86c06c390
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue