mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "internal/build: ignore some files in FindMainPackages (#27521)"
This reverts commit 5bed0f5183.
This commit is contained in:
parent
e4463061aa
commit
e550b19247
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue