Sha256: c99ef0f51b5bbe6c8498b4f8f9d5839cc905aab4e77f53910899ce07f2fabaa0
Contents?: true
Size: 551 Bytes
Versions: 22
Compression:
Stored size: 551 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] == "web_pixel_extension") end end end end
Version data entries
22 entries across 22 versions & 1 rubygems