Skip to content

Commit

Permalink
fix: exec candidate should be stripped of common prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
femnad committed Jan 4, 2024
1 parent fd2b381 commit ae2e56c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const (
version = "0.26.1"
version = "0.26.2"
)

type args struct {
Expand Down
2 changes: 1 addition & 1 deletion provision/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ func getReleaseInfo(archive entity.Release, entries []archiveEntry) (ReleaseInfo
}

return ReleaseInfo{
execCandidate: execCandidate,
execCandidate: strings.TrimPrefix(execCandidate, prefix),
hasRootDir: hasRootDir,
target: target,
targetOverride: archive.Target}, nil
Expand Down

0 comments on commit ae2e56c

Please sign in to comment.