lib/gzr/commands/folder/export.rb in gazer-0.3.10 vs lib/gzr/commands/folder/export.rb in gazer-0.3.11

- old
+ new

@@ -1,8 +1,8 @@ # The MIT License (MIT) -# Copyright (c) 2018 Mike DeAngelo Looker Data Sciences, Inc. +# Copyright (c) 2023 Mike DeAngelo Google, Inc. # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of @@ -84,10 +84,10 @@ end end end def process_folder(folder_id, base, rel_path = nil) - folder = query_folder(folder_id).to_attrs + folder = query_folder(folder_id) name = folder[:name] name = "nil (#{folder_id})" if name.nil? path = Pathname.new(name.gsub('/',"\u{2215}")) path = rel_path + path if rel_path