From 2a211923dac20b6b2b2ed6fb758667dd7cc6ece6 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Thu, 9 Oct 2025 11:14:32 +0800 Subject: [PATCH] Update core/task/handler/runner_sync.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- core/task/handler/runner_sync.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/task/handler/runner_sync.go b/core/task/handler/runner_sync.go index 4850916b..7f359bef 100644 --- a/core/task/handler/runner_sync.go +++ b/core/task/handler/runner_sync.go @@ -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)