1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:54:44 -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:
Alan Donovan 2014-11-17 12:17:16 -05:00
parent 33b1bf3b85
commit 0ae83e44ba

View File

@ -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. // parseImportPath returns the import path of the package denoted by e.