Skip to content

Commit efaf93c

Browse files
committed
Updating the plugin binary manager to accomodate CRT style release zip contents
1 parent 10f3524 commit efaf93c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/pluginshared/binary.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func (v BinaryManager) resolveRelease() (*Binary, error) {
128128

129129
// Unarchive
130130
unzip := getter.ZipDecompressor{
131-
FilesLimit: 1,
131+
FilesLimit: 3,
132132
FileSizeLimit: 500 * MB,
133133
}
134134
targetPath := v.binaryLocation()
@@ -145,7 +145,7 @@ func (v BinaryManager) resolveRelease() (*Binary, error) {
145145
}
146146

147147
return &Binary{
148-
Path: path.Join(targetPath, v.binaryName),
148+
Path: path.Join(targetPath, "tfstacks"),
149149
ProductVersion: manifest.Version,
150150
ResolvedFromCache: false,
151151
}, nil

0 commit comments

Comments
 (0)