mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Fix a few problems introduced by rubocop auto correct
This commit is contained in:
@@ -12,7 +12,6 @@ class ProductFactory
|
||||
|
||||
private
|
||||
|
||||
# rubocop:disable Metrics/MethodLength, Metrics/AbcSize
|
||||
def product_data(enterprises)
|
||||
vegetables = Spree::Taxon.find_by_name('Vegetables')
|
||||
fruit = Spree::Taxon.find_by_name('Fruit')
|
||||
@@ -64,7 +63,6 @@ class ProductFactory
|
||||
}
|
||||
]
|
||||
end
|
||||
# rubocop:enable Metrics/MethodLength, Metrics/AbcSize
|
||||
|
||||
def create_product(hash)
|
||||
log "- #{hash[:name]}"
|
||||
|
||||
Reference in New Issue
Block a user