Commit 51f8a88b authored by Roy Marmelstein's avatar Roy Marmelstein

Fixing warning

parent 230192c8
......@@ -61,7 +61,7 @@ public class Zip {
let fileManager = NSFileManager.defaultManager()
// Check whether a zip file exists at path.
guard let path = zipFilePath.path, let destinationPath = destination.path else {
guard let path = zipFilePath.path where destination.path != nil else {
throw ZipError.FileNotFound
}
if fileManager.fileExistsAtPath(path) == false || zipFilePath.pathExtension != "zip" {
......
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