Skip to content

Commit

Permalink
make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Dec 20, 2023
1 parent 0265af0 commit 8859f97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/y2firstboot/dialogs/wsl_product_selection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def dialog_title
_("Product Selection")
end

# disable rubocop metrics as yast ui is constructed with methods
# rubocop:disable Metrics/AbcSize
def dialog_content
items = products.map { |p| item_for(p) }

Expand Down Expand Up @@ -108,6 +110,7 @@ def dialog_content
)
)
end
# rubocop:enable Metrics/AbcSize

def help_text
# TRANSLATORS: help text (1/3)
Expand Down

0 comments on commit 8859f97

Please sign in to comment.