Skip to content

Commit

Permalink
mac_app_store_dumper: add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Jan 22, 2025
1 parent 31e2c03 commit dc9e0fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bundle/mac_app_store_dumper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def apps
app_details = app.match(/\A(?<id>\d+)\s+(?<name>.*?)\s+\((?<version>[\d.]*)\)\Z/)

# Only add the application details should we have a valid match.
# Strip unprintable characters
[app_details[:id], app_details[:name].gsub(/[[:cntrl:]]|[\p{C}]/, "")] if app_details
end
else
Expand Down

0 comments on commit dc9e0fa

Please sign in to comment.