Skip to content

Commit

Permalink
[Statistics] Robustness against Pods with whitespace in the name
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Nov 29, 2013
1 parent 9d2a344 commit 4ed00ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods-core/specification/set/statistics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def compute_creation_date(set)
date = get_value(set, :creation_date)
unless date
Dir.chdir(set.sources.first.repo) do
git_log = `git log --first-parent --format=%ct #{set.name}`
git_log = `git log --first-parent --format=%ct "#{set.name}"`
creation_date = git_log.split("\n").last.to_i
date = Time.at(creation_date)
end
Expand Down

0 comments on commit 4ed00ac

Please sign in to comment.