Skip to content
Snippets Groups Projects
Commit 0ed386b1 authored by Johan de Klerk's avatar Johan de Klerk
Browse files

Show live output

parent 249a88a8
No related branches found
No related tags found
No related merge requests found
......@@ -90,13 +90,11 @@ func CDKDeploy(cdkDir string, env string, stack string, exclusively bool, local
cmd := BuildCommand("cdk", commandArgs)
cmd.Dir = cdkDir
output, err := cmd.CombinedOutput()
fmt.Printf("==================%v==================\n", stack)
err := cmd.Run()
if err != nil {
fmt.Println(string(output))
return err
}
fmt.Printf("==================%v==================\n", stack)
fmt.Println(string(output))
fmt.Printf("==================%v==================\n\n\n\n", stack)
return nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment