fix download local folder detect error

This commit is contained in:
xiaoyaofenfen 2022-07-07 11:21:01 +08:00
parent 23fa29ef54
commit 416b2e2e6a

View File

@ -245,6 +245,7 @@ func RunDownload(paths []string, options *DownloadOptions) {
} else {
if !fi.IsDir() {
fmt.Println("本地保存路径不是文件夹,请删除或者创建对应的文件夹:", originSaveRootPath)
return
}
}