whoops, lost the bad-word error case

This commit is contained in:
David 2021-02-20 19:18:45 -05:00
parent 0d322b92df
commit ff5346994f

View File

@ -87,6 +87,8 @@ func (c *Context) Exec(w Word) error {
if err != nil { if err != nil {
return err return err
} }
} else {
return fmt.Errorf("unable to parse word %s", w.Name)
} }
return nil return nil
} }