Skip to content

Commit

Permalink
consistency between cli and web ui error
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Suraci <suraci.alex@gmail.com>
  • Loading branch information
vito committed May 8, 2020
1 parent 97d2599 commit f676d9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ func (err AmbiguousReferenceError) PrettyPrint(out io.Writer) {
fmt.Fprintf(out, "- %s:\n", loc.FilePath)
loc.AnnotateLocation(textio.NewPrefixWriter(out, " "))
}

fmt.Fprintf(out, "one of these must be changed.\n")
}

func (err AmbiguousReferenceError) PrettyHTML(out io.Writer) error {
Expand Down

0 comments on commit f676d9d

Please sign in to comment.