Skip to content

Commit

Permalink
revise comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Nov 8, 2024
1 parent d4ea20d commit 9a1c2b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/saucecloud/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ func (r *CloudRunner) remoteArchiveProject(project interface{}, projectDir strin

files, err := collectFiles(projectDir)
if err != nil {
return "", nil, fmt.Errorf("failed to retrieve project files: %w", err)
return "", nil, fmt.Errorf("failed to collect project files: %w", err)
}

matcher, err := sauceignore.NewMatcherFromFile(sauceignoreFile)
Expand Down Expand Up @@ -698,7 +698,6 @@ func (r *CloudRunner) uploadArchive(fileInfo storage.FileInfo, pType uploadType,
if err != nil {
return "", fmt.Errorf("unable to download app from %s: %w", filename, err)
}

defer os.RemoveAll(dest)

filename = dest
Expand Down

0 comments on commit 9a1c2b9

Please sign in to comment.