Skip to content

Commit

Permalink
feat: cmp/stream - allow to exclude all('*')
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Marcus <marxus@gmail.com>
  • Loading branch information
marxus committed Jun 25, 2024
1 parent 41b8e44 commit ee95e55
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions util/cmp/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ func GetCompressedRepoAndMetadata(repoPath string, appPath string, env []string,
if err != nil {
return nil, nil, fmt.Errorf("error compressing repo files: %w", err)
}
if filesWritten == 0 {
return nil, nil, fmt.Errorf("no files to send")
}
if opt != nil && opt.tarDoneChan != nil {
opt.tarDoneChan <- true
close(opt.tarDoneChan)
Expand Down

0 comments on commit ee95e55

Please sign in to comment.