Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1233 from glasser/glasser/case-mismatch-error
Browse files Browse the repository at this point in the history
internal/gps: fix case mismatch error with multiple dependers
  • Loading branch information
sdboyer authored Oct 4, 2017
2 parents a445d4d + 681e6f5 commit 742e949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gps/solve_failures.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 742e949

Please sign in to comment.