🎨 Update av export

This commit is contained in:
Daniel 2023-09-25 23:35:52 +08:00
parent d08edc086f
commit 3cd6e0d953
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -233,7 +233,7 @@ func ImportSY(zipPath, boxID, toPath string) (err error) {
}
}
// storage 文件夹已在上方处理,所以这里删除源 storage 文件夹,避免后面拷贝到导入目录下
// storage 文件夹已在上方处理,所以这里删除源 storage 文件夹,避免后面拷贝到导入目录下 targetDir
if removeErr := os.RemoveAll(storage); nil != removeErr {
logging.LogErrorf("remove temp storage av dir failed: %s", removeErr)
}