Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
jayconrod committed Mar 13, 2024
1 parent 8c33593 commit fd98ff2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions go/tools/bazel_testing/bazel_testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,7 @@ func setupWorkspace(args Args, files []string) (dir string, cleanup func() error
if err := os.RemoveAll(execDir); err != nil {
return "", cleanup, err
}
// cleanups = append(cleanups, func() error { return os.RemoveAll(execDir) })
// DO NOT SUBMIT
fmt.Fprintf(os.Stderr, "!! setupWorkspace: execDir %s\n", execDir)
cleanups = append(cleanups, func() error { return os.RemoveAll(execDir) })

// Create the workspace directory.
mainDir := filepath.Join(execDir, "main")
Expand Down
3 changes: 0 additions & 3 deletions go/tools/gopackagesdriver/packageregistry.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ func NewPackageRegistry(bazelVersion bazelVersion, pkgs ...*FlatPackage) *Packag

func (pr *PackageRegistry) Add(pkgs ...*FlatPackage) *PackageRegistry {
for _, pkg := range pkgs {
if !strings.Contains(pkg.ID, "stdlib") {
fmt.Fprintf(os.Stderr, "!! pr.Add: pkg.ID %s\n", pkg.ID)
}
pr.packagesByID[pkg.ID] = pkg

if pkg.IsStdlib() {
Expand Down

0 comments on commit fd98ff2

Please sign in to comment.