diff --git a/src/ssn/parsePatchmanifest.ts b/src/ssn/parsePatchmanifest.ts index a614a53..baef51b 100644 --- a/src/ssn/parsePatchmanifest.ts +++ b/src/ssn/parsePatchmanifest.ts @@ -22,7 +22,9 @@ export default function parsePatchManifest(manifestFile: any): any { ReleaseUpdatePaths.elements.forEach((ReleaseUpdatePath: any) => { const from = ReleaseUpdatePath.elements[0].elements[0].text; const to = ReleaseUpdatePath.elements[1].elements[0].text; - out.releases[from].to.push(to); + if (from !== '-1') { + out.releases[from].to.push(to); + } out.releases[to].from.push(from); });