mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 04:27:59 +00:00
fix: Correct variable name for image variable directory in update-data.js
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user