aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
-rw-r--r--Library/Homebrew/cmd/info.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index a3062ec99..fc47e1731 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -22,7 +22,7 @@ require "options"
require "formula"
require "keg"
require "tab"
-require "utils/json"
+require "json"
module Homebrew
module_function
@@ -72,7 +72,7 @@ module Homebrew
ARGV.formulae
end
json = ff.map(&:to_hash)
- puts Utils::JSON.dump(json)
+ puts JSON.generate(json)
end
def github_remote_path(remote, path)