mirror of
https://github.com/golang/go
synced 2024-11-18 10:54:40 -07:00
refactor/rename: add missing operand to fmt.Errorf
TBR=gri R=gri CC=golang-codereviews https://golang.org/cl/177920043
This commit is contained in:
parent
33b1bf3b85
commit
0ae83e44ba
@ -197,7 +197,7 @@ func parseObjectSpec(spec *spec, main string) error {
|
||||
}
|
||||
}
|
||||
|
||||
return fmt.Errorf("-from %q: invalid expression")
|
||||
return fmt.Errorf("-from %q: invalid expression", main)
|
||||
}
|
||||
|
||||
// parseImportPath returns the import path of the package denoted by e.
|
||||
|
Loading…
Reference in New Issue
Block a user