lib/gzr/commands/folder/export.rb in gazer-0.3.0 vs lib/gzr/commands/folder/export.rb in gazer-0.3.1

- old
+ new

@@ -97,15 +97,17 @@ [:looks, :dashboards].include?(k) end) end folder[:looks].each do |l| look = cat_look(l[:id]) + look = trim_look(look) if @options[:trim] write_file("Look_#{look[:id]}_#{look[:title]}.json", base, path) do |f| f.write JSON.pretty_generate(look) end end folder[:dashboards].each do |d| data = cat_dashboard(d[:id]) + data = trim_dashboard(data) if @options[:trim] write_file("Dashboard_#{data[:id]}_#{data[:title]}.json", base, path) do |f| f.write JSON.pretty_generate(data) end end folder_children = query_folder_children(folder_id)