Update core/task/handler/runner_sync.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Marvin Zhang
2025-10-09 11:14:32 +08:00
committed by GitHub
parent 587d9d0960
commit 2a211923da

View File

@@ -250,7 +250,6 @@ func (r *Runner) downloadFile(path string, filePath string, fileInfo *entity.FsF
// create directory if not exists
dirPath := filepath.Dir(filePath)
utils.Exists(dirPath)
err = os.MkdirAll(dirPath, os.ModePerm)
if err != nil {
r.Errorf("error creating directory: %v", err)