From 25d2f24cadba69e2df3db265ba4dd2866c862d8c Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Tue, 12 May 2026 15:26:29 +0200 Subject: [PATCH] remove backup creation of original file clean up internal configuration --- scripts/extract-elx/extract-elx.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/extract-elx/extract-elx.js b/scripts/extract-elx/extract-elx.js index de187f9..9ea1354 100644 --- a/scripts/extract-elx/extract-elx.js +++ b/scripts/extract-elx/extract-elx.js @@ -16,7 +16,6 @@ * - .json files for objects and metadata * - .txt files for plain text strings * - _manifest.json with extraction metadata - * - .elx.original.json backup */ const fs = require('fs').promises; @@ -53,11 +52,9 @@ try { const CONFIG = { XML_INDENT: 2, JSON_INDENT: 2, - BACKUP_SUFFIX: '.elx.original.json', MANIFEST_FILE: '_manifest.json', INDEX_FILE: 'index', - ITEM_PREFIX: 'item', - ALLOW_OVERWRITE: false, + ITEM_PREFIX: 'item' }; // ============================================================================ @@ -612,10 +609,6 @@ async function main() { console.log(`\n📂 Creating output: ${outputPath}`); await createOutputDirectory(outputPath, allowOverwrite); - // Save backup - console.log(' Saving backup...'); - await saveBackup(outputPath, data); - // Process each root property console.log('\n⚙️ Processing properties:\n'); const processedProperties = [];