Skip to content

Commit

Permalink
skip mobile package in test
Browse files Browse the repository at this point in the history
Signed-off-by: tony <[email protected]>
  • Loading branch information
libotony committed Jul 15, 2024
1 parent 77b3a43 commit e361fd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/build/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ func ExpandPackagesNoVendor(patterns []string) []string {
var packages []string
for _, line := range strings.Split(string(out), "\n") {
if !strings.Contains(line, "/vendor/") {
packages = append(packages, strings.TrimSpace(line))
if strings.TrimSpace(line) != "github.com/ethereum/go-ethereum/mobile" {
packages = append(packages, strings.TrimSpace(line))
}
}
}
return packages
Expand Down

0 comments on commit e361fd6

Please sign in to comment.