BUILD: TEST

This commit is contained in:
手瓜一十雪
2024-09-11 23:18:38 +08:00
parent a9f5069649
commit 95bd74bb0d
8 changed files with 36 additions and 50 deletions

View File

@@ -805,7 +805,6 @@ export class OneBotMsgApi {
}
const {
path,
isLocal,
fileName,
errMsg,
success,
@@ -816,9 +815,7 @@ export class OneBotMsgApi {
throw Error('文件下载失败' + errMsg);
}
if (!isLocal) { // 只删除http和base64转过来的文件
deleteAfterSentFiles.push(path);
}
deleteAfterSentFiles.push(path);
return { path, fileName: inputdata.name ?? fileName };
}