Commit 624a1499 authored by peterboni's avatar peterboni Committed by GitHub

Fix Swift 4 string compiler deprecation warning.

parent 993f5652
......@@ -148,7 +148,7 @@ public class Zip {
var pathString = String(cString: fileName)
guard pathString.characters.count > 0 else {
guard pathString.count > 0 else {
throw ZipError.unzipFail
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment