修复创建文件夹路径错误

Signed-off-by: ChallengerV <245646299@qq.com>
This commit is contained in:
ChallengerV 2023-03-20 01:01:20 +00:00 committed by Gitee
parent d81b315895
commit 6635147a6d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -89,7 +89,7 @@ async function saveImages (e, name, imageMessages) {
let path = resPath + pathSuffix
if (!fs.existsSync(path)) {
Data.createDir(pathSuffix, 'miao')
Data.createDir("resources/" + pathSuffix, 'miao')
}
let senderName = lodash.truncate(e.sender.card, { length: 8 })
let imgCount = 0