aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/compress.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/compress.go')
-rw-r--r--internal/pkg/compress.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/pkg/compress.go b/internal/pkg/compress.go
index 50303419..9a0c1152 100644
--- a/internal/pkg/compress.go
+++ b/internal/pkg/compress.go
@@ -91,6 +91,9 @@ func (c compoundCloser) Close() error {
return err
}
+// IsExecutable returns false.
+func (*decompressArtifact) IsExecutable() bool { return false }
+
// Cure returns a decompressor [io.ReadCloser].
func (a *decompressArtifact) Cure(r *RContext) (io.ReadCloser, error) {
sr, err := r.Open(a.f)