Skip to content

Commit

Permalink
Update Telemetry test: exclude cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
e-n-0 committed Nov 6, 2024
1 parent ca1de07 commit 0614501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/internal/telemetrytest/telemetry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func TestTelemetryEnabled(t *testing.T) {
packages = append(packages, out)
}
for _, pkg := range packages {
if strings.Contains(pkg.ImportPath, "/test") || strings.Contains(pkg.ImportPath, "/internal") {
if strings.Contains(pkg.ImportPath, "/test") || strings.Contains(pkg.ImportPath, "/internal") || strings.Contains(pkg.ImportPath, "/cmd") {
continue
}
if !pkg.hasTelemetryImport(t) {
Expand Down

0 comments on commit 0614501

Please sign in to comment.