Skip to content

Commit

Permalink
fix(v2check): resolve incorrect urls
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahkm committed Nov 4, 2024
1 parent d12310b commit 5abf2a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/v2check/v2check/known_change.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (c V1ImportURL) Fixes() []analysis.SuggestedFix {
func (V1ImportURL) Probes() []Probe {
return []Probe{
IsImport,
HasPackagePrefix("gopkg.in/Datadog/dd-trace-go.v1"),
HasPackagePrefix("gopkg.in/DataDog/dd-trace-go.v1/"),
}
}

Expand Down
2 changes: 1 addition & 1 deletion tools/v2check/v2check/v2check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (c V1Usage) Fixes() []analysis.SuggestedFix {
func (c V1Usage) Probes() []v2check.Probe {
return []v2check.Probe{
v2check.IsFuncCall,
v2check.HasPackagePrefix("github.com/DataDog/dd-trace-go/v2/"),
v2check.HasPackagePrefix("gopkg.in/DataDog/dd-trace-go.v1"),
}
}

Expand Down

0 comments on commit 5abf2a5

Please sign in to comment.