Skip to content

Commit

Permalink
Update createZip.js
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmanbear committed Aug 30, 2024
1 parent 071927c commit 57f9403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Generator/createZip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 57f9403

Please sign in to comment.