lib/splash/helpers.rb in prometheus-splash-0.8.1 vs lib/splash/helpers.rb in prometheus-splash-0.8.2

- old
+ new

@@ -338,10 +338,10 @@ def format_response(data, format) response = case format when 'application/json' then JSON.pretty_generate(data) when 'text/x-yaml' then data.to_yaml - else JSON.pretty_generate(data) + else data.to_yaml end return response end def format_by_extensions(extension)