aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/tar.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/tar.go')
-rw-r--r--internal/pkg/tar.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go
index 0b40e103..d8ce3b67 100644
--- a/internal/pkg/tar.go
+++ b/internal/pkg/tar.go
@@ -25,8 +25,8 @@ type tarArtifactNamed struct {
var _ fmt.Stringer = new(tarArtifactNamed)
-// String returns the name of the underlying [Artifact] suffixed with unpack.
-func (a *tarArtifactNamed) String() string { return a.name + "-unpack" }
+// String returns the name of the underlying [Artifact] prefixed with unpack.
+func (a *tarArtifactNamed) String() string { return "unpack-" + a.name }
// NewTar returns a new [Artifact] unpacking the tar stream produced by the
// backing [Artifact]. The source [Artifact] must be a [FileArtifact].