Skip to content

Commit 0504840

Browse files
author
Aleksandar Vacic
committed
String warnings
1 parent 993f565 commit 0504840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zip/Zip.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public class Zip {
148148

149149
var pathString = String(cString: fileName)
150150

151-
guard pathString.characters.count > 0 else {
151+
guard pathString.count > 0 else {
152152
throw ZipError.unzipFail
153153
}
154154

0 commit comments

Comments
 (0)