From 172f8aa04a42320dfe5b1cb7d5d3792760fe989d Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Thu, 11 Apr 2024 08:34:06 +0200 Subject: [PATCH] chore: debug windows --- src/services/generate.services.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/services/generate.services.ts b/src/services/generate.services.ts index 0a37522..d078094 100644 --- a/src/services/generate.services.ts +++ b/src/services/generate.services.ts @@ -57,6 +57,8 @@ type PopulateInputFn = Omit; const populateFromCDN = async ({where, template, localDevelopment}: PopulateInputFn) => { const templatePath = getRelativeTemplatePath(template); + console.log("DEBUG ----> ", templatePath); + const {hostname} = new URL(JUNO_CDN_URL); const buffer = await downloadFromURL({ @@ -67,6 +69,8 @@ const populateFromCDN = async ({where, template, localDevelopment}: PopulateInpu } }); + console.log("DEBUG ----> ", buffer); + const uncompressedBuffer = await gunzipFile({source: buffer}); const files = await untarFile({source: uncompressedBuffer});