🗑 Remove debugging output
This commit is contained in:
parent
9994dffed2
commit
28c0fdecf4
2 changed files with 2 additions and 7 deletions
|
@ -44,10 +44,6 @@ export default function extractFileStream(file: ISsnFileEntry, inputStream: stre
|
||||||
curStream = curStream.pipe(decryptTransform);
|
curStream = curStream.pipe(decryptTransform);
|
||||||
}
|
}
|
||||||
|
|
||||||
const writeStream = fs.createWriteStream('test-deflated.raw');
|
|
||||||
curStream.pipe(writeStream);
|
|
||||||
return curStream;
|
|
||||||
|
|
||||||
//pipe into decompression
|
//pipe into decompression
|
||||||
const decompressTransform = zlib.createInflateRaw();
|
const decompressTransform = zlib.createInflateRaw();
|
||||||
decompressTransform.on('error', (error) => {
|
decompressTransform.on('error', (error) => {
|
||||||
|
|
|
@ -37,7 +37,7 @@ export default async function getManifest(product: Product): Promise<IManifest>
|
||||||
//Extract manifest.xml file
|
//Extract manifest.xml file
|
||||||
const patchmanifestStream = extractFileStream(firstFile, stream);
|
const patchmanifestStream = extractFileStream(firstFile, stream);
|
||||||
|
|
||||||
/*//Convert ArrayBuffer to string
|
//Convert ArrayBuffer to string
|
||||||
const patchmanifestXml = await streamToString(patchmanifestStream);
|
const patchmanifestXml = await streamToString(patchmanifestStream);
|
||||||
|
|
||||||
//convert XML to JSON-converted XML
|
//convert XML to JSON-converted XML
|
||||||
|
@ -49,6 +49,5 @@ export default async function getManifest(product: Product): Promise<IManifest>
|
||||||
//convert JSON-converted XML to an easier to read JSON
|
//convert JSON-converted XML to an easier to read JSON
|
||||||
const patchManifestSimple = parsePatchmanifest(patchManifestJson);
|
const patchManifestSimple = parsePatchmanifest(patchManifestJson);
|
||||||
|
|
||||||
return patchManifestSimple;*/
|
return patchManifestSimple;
|
||||||
return { current: -1, releases: {} };
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue