Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/dependabot/gomodules-extracted from 1.2.0 to 1.3.0 in /go_modules/helpers #3632

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion go_modules/helpers/go.mod
Expand Up @@ -4,6 +4,6 @@ go 1.16

require (
github.com/Masterminds/vcs v1.13.1
github.com/dependabot/gomodules-extracted v1.2.0
github.com/dependabot/gomodules-extracted v1.3.0
golang.org/x/mod v0.4.2
)
4 changes: 2 additions & 2 deletions go_modules/helpers/go.sum
@@ -1,7 +1,7 @@
github.com/Masterminds/vcs v1.13.1 h1:NL3G1X7/7xduQtA2sJLpVpfHTNBALVNSjob6KEjPXNQ=
github.com/Masterminds/vcs v1.13.1/go.mod h1:N09YCmOQr6RLxC6UNHzuVwAdodYbbnycGHSmwVJjcKA=
github.com/dependabot/gomodules-extracted v1.2.0 h1:K/gTyOyhasOt4cjULvOPNiD3MAFGytp4F7e39aB+0Y0=
github.com/dependabot/gomodules-extracted v1.2.0/go.mod h1:3NWkH8KcZVDM87JuZI8hCZzYbjfUSz98EZI53qjgMgY=
github.com/dependabot/gomodules-extracted v1.3.0 h1:Rsnl5uR+wjE+7ontePia/B3p48aBRsyEhyNrzCwbkaw=
github.com/dependabot/gomodules-extracted v1.3.0/go.mod h1:cpzrmDX1COyhSDQXHfkRMw0STb0vmguBFqmrkr51h1I=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 h1:ObdrDkeb4kJdCP557AjRjq69pTHfNouLtWZG7j9rPN8=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
Expand Down
9 changes: 3 additions & 6 deletions go_modules/helpers/updatechecker/main.go
@@ -1,6 +1,7 @@
package updatechecker

import (
"context"
"errors"
"io/ioutil"
"regexp"
Expand Down Expand Up @@ -42,13 +43,9 @@ func GetUpdatedVersion(args *Args) (interface{}, error) {
return currentVersion, nil
}

modload.InitMod()

repo, err := modfetch.Lookup("direct", args.Dependency.Name)
if err != nil {
return nil, err
}
modload.LoadModFile(context.Background())

repo := modfetch.Lookup("direct", args.Dependency.Name)
versions, err := repo.Versions("")
if err != nil {
return nil, err
Expand Down