diff options
Diffstat (limited to 'Library/Homebrew/dev-cmd/bottle.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/bottle.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb index 7e98f2ebb..9618cf412 100644 --- a/Library/Homebrew/dev-cmd/bottle.rb +++ b/Library/Homebrew/dev-cmd/bottle.rb @@ -344,7 +344,7 @@ module Homebrew }, } File.open("#{filename.prefix}.bottle.json", "w") do |file| - file.write Utils::JSON.dump json + file.write JSON.generate json end end @@ -352,7 +352,7 @@ module Homebrew write = ARGV.include? "--write" bottles_hash = ARGV.named.reduce({}) do |hash, json_file| - deep_merge_hashes hash, Utils::JSON.load(IO.read(json_file)) + deep_merge_hashes hash, JSON.parse(IO.read(json_file)) end bottles_hash.each do |formula_name, bottle_hash| |
