mirror of
https://github.com/correl/melpa.git
synced 2025-03-29 17:00:08 -09: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…
Add table
Reference in a new issue