ignore ig-r4 when converting for generated package versions

This commit is contained in:
Grahame Grieve 2023-01-31 16:06:51 +11:00
parent 08ed54fd35
commit 373abb7dcc
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class NpmPackageVersionConverter {
output.put("package/other/spec.internals", convertSpec(content.get("package/other/spec.internals")));
for (Entry<String, byte[]> e : content.entrySet()) {
if (!e.getKey().equals("package/package.json") && !e.getKey().equals("package/other/spec.internals")) {
if (!e.getKey().equals("package/package.json") && !e.getKey().equals("package/other/spec.internals") && !e.getKey().endsWith("ig-r4.json")) {
byte[] cnv = e.getValue();
try {
JsonObject json = JsonParser.parseObject(e.getValue());