mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 11:08:54 +00:00
Generate html even if download_counts.json is missing
This lets us test the html generation locally.
This commit is contained in:
parent
bcf41a08a5
commit
e6e19cd5aa
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
include ERB::Util
|
||||
archive_json = JSON.parse(File.open("../archive.json").read)
|
||||
recipe_json = JSON.parse(File.open("../recipes.json").read)
|
||||
downloads_json = JSON.parse(File.open("../download_counts.json").read)
|
||||
downloads_json = JSON.parse(File.open("../download_counts.json").read) rescue {}
|
||||
|
||||
packages = (archive_json.keys & recipe_json.keys).sort.map do |pkgname|
|
||||
package = OpenStruct.new
|
||||
|
|
Loading…
Reference in a new issue