tweak parsing error
This commit is contained in:
parent
b1b8e61f57
commit
3fb978638f
4 changed files with 13 additions and 9 deletions
|
|
@ -101,7 +101,7 @@ func (cmd *RunCmd) Run(ctx *Context) error {
|
|||
|
||||
// if there were parsing errors, print them out
|
||||
if err != nil {
|
||||
print(err.(*core.ParsingError).Format([]rune(src)))
|
||||
print(err.(core.ParsingError).Format([]rune(src)))
|
||||
log.Fatal("Parsing had errors")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue