Skip to content

Commit

Permalink
Do not accept commas on titles for CSV
Browse files Browse the repository at this point in the history
  • Loading branch information
bomberstudios committed Jun 7, 2017
1 parent 54bb88b commit f86224c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ json_data.each do |plugin|
}

open('plugin-stats.csv', 'a') { |f|
f.puts "#{plugin_title},#{repo.pushed_at},#{repo.stargazers_count},#{repo.open_issues_count},https://github.com/#{repo_name}"
f.puts "#{plugin_title.gsub(',','')},#{repo.pushed_at},#{repo.stargazers_count},#{repo.open_issues_count},https://github.com/#{repo_name}"
}
rescue
# puts "Plugin has no repo."
Expand Down

0 comments on commit f86224c

Please sign in to comment.