Skip to content
Permalink
Browse files

Save at the end

  • Loading branch information...
arfon committed Aug 15, 2019
1 parent 15fff27 commit 321df99e03e918cf19763d1ff60c8d736de19336
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/tasks/stats.rake
@@ -38,7 +38,6 @@ namespace :stats do

sheet.rows.each_with_index do |row, index|
# Need to slow down for the Google API.
sleep(1)
puts "Working with #{index}"
next if index < 4
github_handle = sheet["A#{index}"]
@@ -53,7 +52,7 @@ namespace :stats do
sheet["H#{index}"] = stats_reviews_all_time_for(handle)
sheet["I#{index}"] = stats_reviews_last_year_for(handle)
sheet["J#{index}"] = stats_reviews_last_quarter_for(handle)
sheet.save
end
sheet.save
end
end

0 comments on commit 321df99

Please sign in to comment.
You can’t perform that action at this time.