mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 11:08:54 +00:00
Just use Ruby's File.read
This commit is contained in:
parent
63502ec265
commit
10136d3bc7
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
require 'json'
|
||||
require 'time'
|
||||
require 'ostruct'
|
||||
packages = JSON.parse(File.open("archive.json").read).map do |pkgname, info|
|
||||
packages = JSON.parse(File.read("archive.json")).map do |pkgname, info|
|
||||
versions = info["ver"]
|
||||
deps = info["deps"]
|
||||
descr = info["desc"]
|
||||
|
|
Loading…
Reference in a new issue