mirror of
https://github.com/golang/go
synced 2024-11-15 00:40:31 -07:00
n
Change-Id: Ib05189051128a623105fb42152e8ea98d6cc5c36
This commit is contained in:
parent
70a88a6c9b
commit
9567536651
@ -93,7 +93,7 @@ func runVersion(ctx context.Context, cmd *base.Command, args []string) {
|
||||
scanDir(arg)
|
||||
} else {
|
||||
ok := scanFile(arg, info, true)
|
||||
if !ok {
|
||||
if !ok && *versionM {
|
||||
base.SetExitStatus(1)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user