Module: ShopifyCLI::Theme::Syncer::Uploader::JsonUpdateHandler

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

Instance Method Summary collapse

Instance Method Details

#enqueue_json_updates(files) ⇒ Object



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

def enqueue_json_updates(files)
  return enqueue_updates(files) if overwrite_json?

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