mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: no temp write flags
This commit is contained in:
1 parent
ac2c7fe9ab
commit
8e004d0e3a
1 file changed
+1
-3
@@ -1,4 +1,4 @@
|
||||
import { readdir, writeFile } from 'fs/promises';
|
||||
import { readdir } from 'fs/promises';
|
||||
import sharp from 'sharp';
|
||||
import { readBase64DVPL } from '../../src/core/blitz/readBase64DVPL';
|
||||
import { readDVPLFile } from '../../src/core/blitz/readDVPLFile';
|
||||
@@ -71,8 +71,6 @@ export async function flags() {
|
||||
).toString('base64');
|
||||
const name = flag.match(/flag_filter_(.+)@2x\.packed\.webp/)![1];
|
||||
|
||||
writeFile(`temp/icons/${name}.webp`, content, { encoding: 'base64' });
|
||||
|
||||
return {
|
||||
content,
|
||||
encoding: 'base64',
|
||||
|
||||
Reference in new issue
Block a user