fix: pcm清理

This commit is contained in:
手瓜一十雪
2025-02-03 11:37:39 +08:00
parent fe2d21979d
commit 3a27f37686
2 changed files with 2 additions and 2 deletions

View File

@@ -214,8 +214,7 @@ export class NTQQFileApi {
throw new Error('文件异常大小为0');
}
if (converted) {
fsPromises.unlink(silkPath).then().catch((e) => this.context.logger.logError('删除临时文件失败', e)
);
fsPromises.unlink(silkPath).then().catch((e) => this.context.logger.logError('删除临时文件失败', e));
}
return {
elementType: ElementType.PTT,