mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Ignore parameter list length for ProductImport::EntryValidator
This can be done in a separate PR. More tests might be needed when extracting to a class.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
module ProductImport
|
||||
class EntryValidator
|
||||
# rubocop:disable Metrics/ParameterLists
|
||||
def initialize(current_user, import_time, spreadsheet_data, editable_enterprises,
|
||||
inventory_permissions, reset_counts, import_settings, all_entries)
|
||||
@current_user = current_user
|
||||
@@ -15,6 +16,7 @@ module ProductImport
|
||||
@import_settings = import_settings
|
||||
@all_entries = all_entries
|
||||
end
|
||||
# rubocop:enable Metrics/ParameterLists
|
||||
|
||||
def self.non_updatable_fields
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user