Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
redirect stderr and stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsbeck committed Apr 5, 2024
1 parent 5b6a98d commit e659cde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .nextmv/golden/java/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ func TestMain(m *testing.M) {
// prepareApp builds the app and moves the resulting jar to this directory
func prepareApp() {
build := exec.Command("mvn", "package")
build.Stdout = os.Stdout
build.Stderr = os.Stderr
build.Dir = "../../../java"
err := build.Run()
if err != nil {
Expand Down

0 comments on commit e659cde

Please sign in to comment.