mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 17:35:34 +00:00
修复创建文件夹路径错误
Signed-off-by: ChallengerV <245646299@qq.com>
This commit is contained in:
parent
d81b315895
commit
6635147a6d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user