lib/eco/api/usecases/graphql/samples/location/command/service/tree_update.rb in eco-helpers-3.0.4 vs lib/eco/api/usecases/graphql/samples/location/command/service/tree_update.rb in eco-helpers-3.0.5
- old
+ new
@@ -26,10 +26,11 @@
# Before closing, run RE-ARCHIVE: those that where unarchived via archivedToken
# that should remain archived.
# @note this is an additional necessary step
def re_archive
return if simulate?
+
stage = :rearchive
nodes_diff_class.new(
hash_list(current_tree),
file_nodes_list,
@@ -73,9 +74,10 @@
# @note the SFTP push only happens if `remote_subfolder` is defined, via:
# 1. `options.dig(:sftp, :remote_subfolder)`
# 2. `REMOTE_FOLDER` const
def close_handling_tags_remap_csv
return false unless super
+
upload(tags_remap_csv_file) unless remote_subfolder.nil?
true
end
def email_digest(title)