From dc9e0faefd1de9172abb9e56dae7fa0bce40a799 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 22 Jan 2025 08:40:04 +0000 Subject: [PATCH] mac_app_store_dumper: add comment. --- lib/bundle/mac_app_store_dumper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bundle/mac_app_store_dumper.rb b/lib/bundle/mac_app_store_dumper.rb index 764c383fe..f3548985e 100644 --- a/lib/bundle/mac_app_store_dumper.rb +++ b/lib/bundle/mac_app_store_dumper.rb @@ -16,6 +16,7 @@ def apps app_details = app.match(/\A(?\d+)\s+(?.*?)\s+\((?[\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