зеркало из https://github.com/golang/dep.git
Merge pull request #1233 from glasser/glasser/case-mismatch-error
internal/gps: fix case mismatch error with multiple dependers
This commit is contained in:
Коммит
742e949925
|
@ -84,7 +84,7 @@ func (e *caseMismatchFailure) Error() string {
|
|||
var buf bytes.Buffer
|
||||
|
||||
str := "Could not introduce %s due to a case-only variation: it depends on %q, but %q was already established as the case variant for that project root by the following other dependers:\n"
|
||||
fmt.Fprintf(&buf, str, e.goal.dep.Ident.ProjectRoot, e.current, a2vs(e.goal.depender))
|
||||
fmt.Fprintf(&buf, str, a2vs(e.goal.depender), e.goal.dep.Ident.ProjectRoot, e.current)
|
||||
|
||||
for _, c := range e.failsib {
|
||||
fmt.Fprintf(&buf, "\t%s\n", a2vs(c.depender))
|
||||
|
|
Загрузка…
Ссылка в новой задаче