fix: Correct variable name for image variable directory in update-data.js

This commit is contained in:
sHa
2025-06-18 13:55:53 +03:00
parent 60d26c5388
commit 77f18007a6
2 changed files with 2 additions and 2 deletions

View File

@@ -14,4 +14,4 @@
"wikipedia": "https://en.wikipedia.org/wiki/Coat_of_arms_of_Spain"
}
}
]
]

View File

@@ -14,7 +14,7 @@ const collection = collections.find(c => c.name === collectionName) || collectio
const imagesDir = path.join(__dirname, '..', 'public', collection.baseDir);
const outputFile = path.join(__dirname, '..', 'public', collection.dataFile);
const imagesVarDir = path.join(__dirname, '..', 'public', collection.imagesVarDir);
const imagesVarDir = path.join(__dirname, '..', 'public', collection.varDir);
// Remove old PNG/JPG folders if they exist
const pngDir = path.join(__dirname, '..', 'public', collection.baseDir + '-png');