Skip to content

Commit

Permalink
Revert "internal/build: ignore some files in FindMainPackages (ethere…
Browse files Browse the repository at this point in the history
…um#27521)"

This reverts commit 5bed0f5.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent e446306 commit e550b19
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/build/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,6 @@ func FindMainPackages(dir string) []string {
}
for _, cmd := range cmds {
pkgdir := filepath.Join(dir, cmd.Name())
if !cmd.IsDir() {
continue
}
pkgs, err := parser.ParseDir(token.NewFileSet(), pkgdir, nil, parser.PackageClauseOnly)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit e550b19

Please sign in to comment.