chore: 小调整

This commit is contained in:
手瓜一十雪
2024-08-10 17:29:24 +08:00
parent dac361bcde
commit cff33b3d0d
6 changed files with 8 additions and 12 deletions

View File

@@ -7,8 +7,6 @@ import * as fileType from 'file-type';
import { randomUUID } from 'crypto';
import { LogWrapper } from './log';
export function isGIF(path: string) {
const buffer = Buffer.alloc(4);
const fd = fs.openSync(path, 'r');