Sha256: 0dd8b35355926297a002a3f7d23aefa4bc02ff2de5559e88eb3c60cf46069662
Contents?: true
Size: 548 Bytes
Versions: 8
Compression:
Stored size: 548 Bytes
Contents
module Extension module Tasks class ConfigureOptions include ShopifyCLI::MethodObject def call(specification_attribute_sets) specification_attribute_sets.each do |attributes| attributes[:options] ||= {} configure_skip_build(attributes) end end private def configure_skip_build(attributes) attributes[:options].merge!(skip_build: attributes[:identifier] == "theme_app_extension" || attributes[:identifier] == "beacon_extension") end end end end
Version data entries
8 entries across 8 versions & 1 rubygems