File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require (
77 github.com/juju/errors v0.0.0-20210818161939-5560c4c073ff
88 github.com/juju/testing v0.0.0-20201030020617-7189b3728523 // indirect
99 github.com/lixiangzhong/dnsutil v1.4.0
10- github.com/miekg/dns v1.1.43 // indirect
10+ github.com/miekg/dns v1.1.43
1111 github.com/rs/zerolog v1.26.0
1212 github.com/spf13/cobra v1.2.1
1313 github.com/spf13/viper v1.9.0
Original file line number Diff line number Diff line change 1+ //go:build tools
12// +build tools
23
34package tools
@@ -7,5 +8,13 @@ package tools
78// during `go mod tidy`
89
910import (
11+ // gotestsum is a test runner that produces test output in other formats, such as JUnit XML.
1012 _ "gotest.tools/gotestsum"
13+
14+ // This one is actually to prevent a misleading Dependabot error. Without it,
15+ // Dependabot will claim that this module is using an outdated version of this
16+ // module even when it isn't, presumably due to it being an indirect dependency from
17+ // the lixiangzhong/dnsutil package. Adding it here creates a direct dependency and
18+ // prevents go mod tidy from removing it from this module's go.mod.
19+ _ "github.com/miekg/dns"
1120)
You can’t perform that action at this time.
0 commit comments