We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ca4e4 commit b2f4ef7Copy full SHA for b2f4ef7
lib/github_advisory_sync.rb
@@ -196,7 +196,18 @@ def updating?
196
end
197
198
def filename
199
- File.join("gems", name, "#{@advisory.primary_id}.yml")
+ # These packages appear to have been named differently in the past
200
+ # This 'corrects' them so updates don't affect existing vulnerabilities
201
+ package_name = case name
202
+ when "arabic-prawn"
203
+ "Arabic-Prawn"
204
+ when "redcloth"
205
+ "RedCloth"
206
+ else
207
+ name
208
+ end
209
+
210
+ File.join("gems", package_name, "#{@advisory.primary_id}.yml")
211
212
213
def framework
0 commit comments