mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 19:17:27 +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 'json'
|
||||||
require 'time'
|
require 'time'
|
||||||
require 'ostruct'
|
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"]
|
versions = info["ver"]
|
||||||
deps = info["deps"]
|
deps = info["deps"]
|
||||||
descr = info["desc"]
|
descr = info["desc"]
|
||||||
|
|
Loading…
Reference in a new issue