summaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/gomega/gexec/build.go
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2021-07-08 12:23:01 +0000
committerGitHub <noreply@github.com>2021-07-08 12:23:01 +0000
commit563532aef875cb05232fdb77d8352ad6421f493d (patch)
treec43b58a70d90859f57125beb09dd234a9384fe2f /vendor/github.com/onsi/gomega/gexec/build.go
parent48d49032a1e788ef915eb378cd5ccbee0533e2aa (diff)
downloadpodman-563532aef875cb05232fdb77d8352ad6421f493d.tar.gz
podman-563532aef875cb05232fdb77d8352ad6421f493d.tar.bz2
podman-563532aef875cb05232fdb77d8352ad6421f493d.zip
Bump github.com/onsi/gomega from 1.13.0 to 1.14.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.13.0 to 1.14.0. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/gomega/compare/v1.13.0...v1.14.0) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/onsi/gomega/gexec/build.go')
-rw-r--r--vendor/github.com/onsi/gomega/gexec/build.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/vendor/github.com/onsi/gomega/gexec/build.go b/vendor/github.com/onsi/gomega/gexec/build.go
index c7aba62b7..576fc8ee4 100644
--- a/vendor/github.com/onsi/gomega/gexec/build.go
+++ b/vendor/github.com/onsi/gomega/gexec/build.go
@@ -3,8 +3,6 @@
package gexec
import (
- "crypto/md5"
- "encoding/hex"
"errors"
"fmt"
"go/build"
@@ -197,9 +195,7 @@ func newExecutablePath(gopath, packagePath string, suffixes ...string) (string,
return "", errors.New("$GOPATH not provided when building " + packagePath)
}
- hash := md5.Sum([]byte(packagePath))
- filename := fmt.Sprintf("%s-%x%s", path.Base(packagePath), hex.EncodeToString(hash[:]), strings.Join(suffixes, ""))
- executable := filepath.Join(tmpDir, filename)
+ executable := filepath.Join(tmpDir, path.Base(packagePath))
if runtime.GOOS == "windows" {
executable += ".exe"