mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
Add a missing space to the pprint of PosError.
This commit is contained in:
parent
f3635715c9
commit
70d9428e68
|
@ -25,7 +25,7 @@ func (pe *PosError) Pprint(srcname, errtype, src string) string {
|
|||
|
||||
buf := new(bytes.Buffer)
|
||||
// Source and type of the error
|
||||
fmt.Fprintf(buf, "\033[1m%s:%d:%d: \033[31m%s:", srcname, lineno+1, colno+1, errtype)
|
||||
fmt.Fprintf(buf, "\033[1m%s:%d:%d: \033[31m%s: ", srcname, lineno+1, colno+1, errtype)
|
||||
// Message
|
||||
fmt.Fprintf(buf, "\033[m\033[1m%s\033[m\n", pe.msg())
|
||||
// Affected line
|
||||
|
|
Loading…
Reference in New Issue
Block a user