From 05d721171ab3968694ebb22692fe71bba9a55985 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 24 Jun 2018 02:31:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Improve=20debug=20output?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/getPatch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssn/getPatch.ts b/src/ssn/getPatch.ts index 9bd187f..a2bc293 100644 --- a/src/ssn/getPatch.ts +++ b/src/ssn/getPatch.ts @@ -29,14 +29,14 @@ export default async function getPatch(product: Product, from: number, to: numbe //Extract newly added files fileEntries.filter((file) => file.diffType === SsnDiffType.NewFile).forEach(async (file) => { const fileContents = await extractFile(file, dvArray); - console.debug(fileContents); + console.debug(new Uint8Array(fileContents)); //TODO }); //Extract changed files fileEntries.filter((file) => file.diffType === SsnDiffType.Changed).forEach(async (file) => { const fileContents = await extractFile(file, dvArray); - console.debug(fileContents); + console.debug(new Uint8Array(fileContents)); //TODO });