chore: clean up data files
This commit is contained in:
parent
77e6fe27e3
commit
cce53c2656
15 changed files with 98 additions and 129 deletions
|
@ -43,8 +43,6 @@ const svgToPNG = async (filePath) => {
|
|||
|
||||
await fs.mkdir(outputDir, { recursive: true })
|
||||
await sharp(Buffer.from(svgContent)).png().toFile(outputFile)
|
||||
|
||||
console.log(`Generated png at ${outputFile}`)
|
||||
} catch (error) {
|
||||
console.error('Error processing file:', error)
|
||||
}
|
||||
|
|
Reference in a new issue