Skip to content

Commit

Permalink
Update from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Feb 28, 2020
1 parent c447681 commit 3352d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/y2packager/dialogs/addon_selector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def preselected_upgrade_products
# @return [Array<Y2Packager::ProductLocation>] the products
def preselected_installation_products
default_modules = Yast::ProductFeatures.GetFeature("software", "default_modules")
return [] if default_modules == ""
return [] unless default_modules.is_a?(Array)

log.info("Defined default modules: #{default_modules.inspect}")
# skip the already selected products (to avoid duplicates)
Expand Down

0 comments on commit 3352d46

Please sign in to comment.