Skip to content

Commit 5f426f7

Browse files
committed
Update split method to swift-3-api-guidelines
1 parent 32ed31c commit 5f426f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Utility/Path.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ extension String {
224224
public var fileExt: String? {
225225
guard isFile else { return nil }
226226
guard characters.contains(".") else { return nil }
227-
let parts = characters.split(".")
227+
let parts = characters.split(separator: ".")
228228
if let last = parts.last where parts.count > 1 { return String(last) }
229229
return nil
230230
}

0 commit comments

Comments
 (0)