Skip to content

Commit 2897f99

Browse files
authored
Revert "internal/build: ignore some files in FindMainPackages (ethereum#27521)"
This reverts commit 5bed0f5.
1 parent 753d291 commit 2897f99

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/build/util.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@ func FindMainPackages(dir string) []string {
197197
}
198198
for _, cmd := range cmds {
199199
pkgdir := filepath.Join(dir, cmd.Name())
200-
if !cmd.IsDir() {
201-
continue
202-
}
203200
pkgs, err := parser.ParseDir(token.NewFileSet(), pkgdir, nil, parser.PackageClauseOnly)
204201
if err != nil {
205202
log.Fatal(err)

0 commit comments

Comments
 (0)