Module: ShopifyCLI::Theme::Syncer::Uploader::JsonDeleteHandler

Included in:
ShopifyCLI::Theme::Syncer::Uploader
Defined in:
lib/shopify_cli/theme/syncer/uploader/json_delete_handler.rb

Instance Method Summary collapse

Instance Method Details

#enqueue_json_deletes(files) ⇒ Object



11
12
13
14
15
16
# File 'lib/shopify_cli/theme/syncer/uploader/json_delete_handler.rb', line 11

def enqueue_json_deletes(files)
  return enqueue_deletes(files) if overwrite_json?

  # Handle conflicts when JSON files cannot be overwritten
  handle_delete_conflicts(files)
end