From 57f94039af631fda585a4aaa71c019c5e0e5402d Mon Sep 17 00:00:00 2001 From: HalfManBear <89969229+halfmanbear@users.noreply.github.com> Date: Fri, 30 Aug 2024 12:28:02 +0100 Subject: [PATCH] Update createZip.js --- src/pages/Generator/createZip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Generator/createZip.js b/src/pages/Generator/createZip.js index d2dbb5d..dca86da 100644 --- a/src/pages/Generator/createZip.js +++ b/src/pages/Generator/createZip.js @@ -5,7 +5,7 @@ function addFile(zip, type, file) { if (path.indexOf(".json") === -1) { path += ".json"; } - console.log(`Adding file to zip: ${path} with content:`, file.content); // Log file content + console.log(`Adding file to zip: ${path} with content:`, file.content); // Log file content to verify it is not empty zip.file(path, JSON.stringify(file.content, null, 2)); // Ensure content is correctly stringified }