Skip to content

Commit

Permalink
resolve rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bkiahstroud committed Nov 20, 2024
1 parent 3bc0318 commit f0efedf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/concerns/account_settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def set_type(value, to_type)
when 'json_editor'
begin
JSON.pretty_generate(JSON.parse(value))
rescue JSON::ParserError => e
rescue JSON::ParserError
value
end
end
Expand All @@ -164,7 +164,7 @@ def validate_contact_emails

def validate_json
json_editor_settings.each do |key|
next unless settings[key].present?
next if settings[key].blank?

begin
JSON.parse(settings[key])
Expand Down
2 changes: 2 additions & 0 deletions lib/bulkrax/bulkrax_decorator.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module PerTenantFieldMappings
# OVERRIDE: [Bulkrax v8.2.0] Use tenant-specific field mappings if present
def field_mappings
Expand Down

0 comments on commit f0efedf

Please sign in to comment.