Merge pull request #1233 from glasser/glasser/case-mismatch-error

internal/gps: fix case mismatch error with multiple dependers
This commit is contained in:
sam boyer 2017-10-04 07:37:53 -04:00 коммит произвёл GitHub
Родитель a445d4d349 681e6f5a3d
Коммит 742e949925
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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))