Skip to content

Commit 76067cb

Browse files
committed
Go: skip X:nocoverageredesign printing by autobuilder built with bazel
1 parent 1aafc37 commit 76067cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

go/extractor/cli/go-autobuilder/go-autobuilder.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,9 @@ func extract(workspace project.GoWorkspace) bool {
487487

488488
// Build the project and run the extractor.
489489
func installDependenciesAndBuild() {
490-
log.Printf("Autobuilder was built with %s, environment has %s\n", runtime.Version(), toolchain.GetEnvGoVersion())
490+
// do not print experiments the autobuilder was built with if any, only the version
491+
version := strings.SplitN(runtime.Version(), " ", 2)[0]
492+
log.Printf("Autobuilder was built with %s, environment has %s\n", version, toolchain.GetEnvGoVersion())
491493

492494
srcdir := getSourceDir()
493495

0 commit comments

Comments
 (0)