🎨 Improve debug output

This commit is contained in:
C-3PO 2018-06-23 23:32:17 +02:00
parent e9ba519db3
commit b87236a435
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -7,6 +7,7 @@ import readSsnFile from './readSsnFile';
export default async function getPatch(product: Product, from: number, to: number) {
const solidPkg = await getSolidpkg(product, from, to);
console.log(solidPkg.files);
const bufferArray = await Promise.all(solidPkg.files.map((file) => getUrlContents({ host: 'cdn-patch.swtor.com', path: `/patch/${product}/${product}_${from}to${to}/${file.name}` })));
const zipFile = bufferArray[bufferArray.length - 1];