Skip to content

Commit 1b2aa67

Browse files
fix(*): do not overwrite files in unzip
1 parent d366f10 commit 1b2aa67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
cocoapods-binary-cache (0.1.13)
4+
cocoapods-binary-cache (0.1.14)
55
cocoapods (>= 1.5.0)
66
fourflusher (~> 2.0)
77
parallel (~> 1.0)

lib/command/helper/zip.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def self.zip(path, to_dir: nil)
1212

1313
def self.unzip(path, to_dir: nil)
1414
cmd = []
15-
cmd << "unzip -q" << path
15+
cmd << "unzip -nq" << path
1616
cmd << "-d" << to_dir unless to_dir.nil?
1717
`#{cmd.join(" ")}`
1818
end

0 commit comments

Comments
 (0)