Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Jan 13, 2025
1 parent 1fb1334 commit fe4f9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/packager2/layout/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func (p *PackageLayout) Archive(ctx context.Context, dirPath string, maxPackageS
for _, chunk := range existingChunks {
err := os.Remove(chunk)
if err != nil {
return fmt.Errorf("unable to remove existing chunk file %s: %w", chunk, err)
return err
}
}
err = splitFile(tarballPath, chunkSize)
Expand Down

0 comments on commit fe4f9c5

Please sign in to comment.