Skip to content

Commit 6bf8afc

Browse files
committed
fix test error
1 parent 18a8627 commit 6bf8afc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd_run.go

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ var errCallRun = errors.New("this method can only be called in standalone mode")
144144
func (c *Command) MustRun(inArgs []string) {
145145
if err := c.Run(inArgs); err != nil {
146146
color.Error.Println("Run command error: %s", err.Error())
147+
panic(err)
147148
}
148149
}
149150

0 commit comments

Comments
 (0)