mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Fix json.rb to work with frozen strings (#10090)
This commit is contained in:
committed by
GitHub
parent
e0a1eeaf52
commit
ec30cef64d
@@ -16,7 +16,7 @@ Dir.glob('../packages/*.rb').each do |filename|
|
||||
# Skip fake packages.
|
||||
next if pkg.is_fake?
|
||||
# Present a useful version to Repology.
|
||||
version = pkg.version
|
||||
version = +pkg.version
|
||||
# That starts by trimming off our language version tagging.
|
||||
version.delete_suffix!('-py3.12')
|
||||
version.delete_suffix!('-perl5.40')
|
||||
|
||||
Reference in New Issue
Block a user