Skip to content

Commit

Permalink
use include like upstream instead of match
Browse files Browse the repository at this point in the history
  • Loading branch information
desertkaz authored Oct 6, 2023
1 parent 6af690c commit 8257582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inventory-manager.lic
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class InventoryManager
total_found = 0
DRC.message "Checking #{k}:"
v.each { |data|
if data.downcase.match?(item)
if data.downcase.include?(item)
total_found += 1
DRC.message "Match #{total_found}): #{data}"
end
Expand Down

0 comments on commit 8257582

Please sign in to comment.