Skip to content

Commit efe370b

Browse files
Fix recursion
1 parent 19fe6af commit efe370b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/Alchemy/Utilities/Service.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ extension Service {
3737
}
3838

3939
public static func config(default configuration: Self) {
40-
config(nil, configuration)
40+
_config(nil, configuration)
4141
}
4242

4343
public static func config(_ name: String, _ configuration: Self) {
44-
config(name, configuration)
44+
_config(name, configuration)
4545
}
4646

47-
private static func config(_ name: String? = nil, _ configuration: Self) {
47+
private static func _config(_ name: String? = nil, _ configuration: Self) {
4848
let label: String
4949
if let name = name {
5050
label = "\(Alchemy.name(of: Self.self)):\(name)"

0 commit comments

Comments
 (0)