Skip to content

Commit

Permalink
Lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinebessoles committed Aug 30, 2023
1 parent 6662e8e commit 637ec42
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def update_personal_data
@user.extended_data = extended_data
end

# rubocop:disable Style/TrailingCommaInArguments
def extended_data
@extended_data ||= (@user&.extended_data || {}).merge(
country: @form.country,
Expand All @@ -46,7 +45,6 @@ def extended_data
location: @form.location
)
end
# rubocop:enable Style/TrailingCommaInArguments
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def create_or_find_user
@user.save!
end

# rubocop:disable Style/TrailingCommaInArguments
def extended_data
@extended_data ||= (@user&.extended_data || {}).merge(
country: @form.country,
Expand All @@ -51,7 +50,6 @@ def extended_data
location: @form.location
)
end
# rubocop:enable Style/TrailingCommaInArguments
end
end
end

0 comments on commit 637ec42

Please sign in to comment.