Skip to content

Commit

Permalink
Fix bug with reading output for actions with no output data
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 9, 2023
1 parent 96c2e7a commit a5dda8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a5dda8a

Please sign in to comment.