1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:08:36 -06: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.