Skip to content

Commit

Permalink
Changes based on CR
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Apr 28, 2021
1 parent d1a57f9 commit 19abaf1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/y2network/dialogs/wireless_networks.rb
Expand Up @@ -121,7 +121,7 @@ def find_networks(cache = true)
_("Scanning for wireless networks..."), headline: _("Scanning network")
) do
found_networks = Y2Network::WirelessNetwork.all(@builder.interface.name, cache: cache)
found_networks.delete_if { |n| n.essid.to_s.empty? }
.reject { |n| n.essid.to_s.empty? }
log.info("Found networks: #{found_networks.map(&:essid)}")
end

Expand Down
1 change: 0 additions & 1 deletion test/y2network/dialogs/wireless_networks_test.rb
Expand Up @@ -87,6 +87,5 @@
expect(subject.run).to eq(nil)
end
end

end
end

0 comments on commit 19abaf1

Please sign in to comment.