Skip to content

Commit 4ed00ac

Browse files
committed
[Statistics] Robustness against Pods with whitespace in the name
1 parent 9d2a344 commit 4ed00ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cocoapods-core/specification/set/statistics.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def compute_creation_date(set)
221221
date = get_value(set, :creation_date)
222222
unless date
223223
Dir.chdir(set.sources.first.repo) do
224-
git_log = `git log --first-parent --format=%ct #{set.name}`
224+
git_log = `git log --first-parent --format=%ct "#{set.name}"`
225225
creation_date = git_log.split("\n").last.to_i
226226
date = Time.at(creation_date)
227227
end

0 commit comments

Comments
 (0)