Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.
/ ocean Public archive

Commit 9a1c41a

Browse files
author
NhanPT
committed
fix compress error
1 parent 554bbd6 commit 9a1c41a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils/job.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ func (runner *JobRunner) Run() error {
3535
if (runner.Job.UseZip && !strings.Contains(uploadPath, ".zip")) || stats.IsDir() {
3636
uploadFile = createZipName(runner.Job.Name)
3737
uploadPath = createTempPath(uploadFile)
38-
fmt.Println("Creating zip file:", uploadFile)
39-
err = CompressZip(runner.Job.Path, uploadFile)
38+
err = CompressZip(runner.Job.Path, uploadPath)
4039
if err != nil {
4140
fmt.Println(err.Error())
4241
return err

0 commit comments

Comments
 (0)