Skip to content

Commit

Permalink
Merge pull request #79 from warptools/plan-generate-stderr-passthru
Browse files Browse the repository at this point in the history
pass through stderr from plan generate execution
  • Loading branch information
TripleDogDare committed Aug 24, 2023
2 parents 73622a0 + b9473b0 commit b365118
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/plan/generators.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ var generators = map[string]func(string) ([]byte, error){
// - warpforge-error-generator-failed -- when the external generator fails
func starlarkGenerator(file string) ([]byte, error) {
cmd := exec.Command("warplark", file)
cmd.Stderr = os.Stderr
out, err := cmd.Output()
if err != nil {
if exitErr, ok := err.(*exec.ExitError); ok {
Expand Down

0 comments on commit b365118

Please sign in to comment.