lib/command/helper/zip.rb in cocoapods-binary-artifactory-cache-0.0.13 vs lib/command/helper/zip.rb in cocoapods-binary-artifactory-cache-0.0.14

- old
+ new

@@ -18,10 +18,12 @@ def self.unzip(path, to_dir: nil) cmd = [] cmd << "unzip -oq" << path cmd << "-d" << to_dir unless to_dir.nil? `#{cmd.join(" ")}` - if $? != 0 then return false + if $? != 0 + return false + end return true end end end