diff --git a/flow/client/bin/appflow-template b/flow/client/bin/appflow-template index 432b0fe08d..8267c71246 100755 --- a/flow/client/bin/appflow-template +++ b/flow/client/bin/appflow-template @@ -422,7 +422,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do document_hash = JSON.parse(response.body) template = document_hash['DOCUMENT']['TEMPLATE']['BODY'] - tmp << template.to_json + tmp << JSON.pretty_generate(template) tmp.flush editor_path = ENV["EDITOR"] ? ENV["EDITOR"] : EDITOR_PATH