mirror of
https://github.com/golang/go
synced 2024-11-18 10:04:43 -07:00
cmd/ssadump: fix typo that broke -run
Change-Id: I6cc618a3cf1036f4dffb2acad766d86c14d658cd Reviewed-on: https://go-review.googlesource.com/32645 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
f08d70c2ed
commit
4d145add37
@ -161,7 +161,7 @@ func doMain() error {
|
||||
}
|
||||
} else {
|
||||
// Otherwise, run the main packages.
|
||||
mains := ssautil.MainPackages(initpkgs)
|
||||
mains = ssautil.MainPackages(initpkgs)
|
||||
if len(mains) == 0 {
|
||||
return fmt.Errorf("no main package")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user