Skip to content

Commit

Permalink
Misc update
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy0M committed Apr 18, 2024
1 parent 3ff6243 commit 267ebaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/tmplexec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ func (e *TemplateExecuter) ExecuteWithResults(ctx *scan.ScanContext) ([]*output.
} else {
errx = e.engine.ExecuteWithResults(ctx)
}
ctx.LogError(errx)
if errx != nil {
ctx.LogError(errx)
}
return ctx.GenerateResult(), errx
}

Expand Down

0 comments on commit 267ebaf

Please sign in to comment.