diff --git a/Zip/Zip.swift b/Zip/Zip.swift index 4c165ab2ac09734557718fdbf16f97cccbd3e552..544e30082e22b604d0a4d34ae9e0f75441dd8eba 100644 --- a/Zip/Zip.swift +++ b/Zip/Zip.swift @@ -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 }