diff --git a/cli/cli.go b/cli/cli.go index a60a72f3..b0bddb6f 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -40,7 +40,7 @@ import ( // Application info const ( APP = "bibop" - VER = "7.4.0" + VER = "7.4.1" DESC = "Utility for testing command-line tools" ) diff --git a/cli/executor/executor.go b/cli/executor/executor.go index 69d341a7..26fb500e 100644 --- a/cli/executor/executor.go +++ b/cli/executor/executor.go @@ -290,7 +290,7 @@ func runCommand(e *Executor, rr render.Renderer, c *recipe.Command) bool { } if err != nil { - if !e.config.Quiet && e.config.Debug && !cmdEnv.output.IsEmpty() { + if !e.config.Quiet && e.config.Debug && cmdEnv.output != nil && !cmdEnv.output.IsEmpty() { fmtc.NewLine() panel.Panel( "☴ OUTPUT", "{y}", "The last 10 lines from command output",