Skip to content

Commit

Permalink
fix(sgshellcheck): untar local archive
Browse files Browse the repository at this point in the history
Decompressing using xz is not enough, we also need to extract the tarball.
  • Loading branch information
Hashem Hashem authored and hashemmm96 committed Aug 17, 2022
1 parent e153cb7 commit fceaf7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/sgshellcheck/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func PrepareCommand(ctx context.Context) error {
if err := sgtool.FromLocal(
ctx,
decompressedArchive,
sgtool.WithUntar(),
sgtool.WithSkipIfFileExists(binary),
sgtool.WithDestinationDir(binDir),
sgtool.WithSymlink(binary),
Expand Down

0 comments on commit fceaf7c

Please sign in to comment.