Skip to content

Commit

Permalink
fix substreams build workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Dec 5, 2024
1 parent aec4ad1 commit 6380fcb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sol-anchor/tests/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,14 @@ func runTest(generatorName string) error {

// Execute build
cmd1 := exec.Command("substreams", "build")
cmd.Dir = tempDir
cmd1.Dir = tempDir

output1, err := cmd1.CombinedOutput()
fmt.Printf("Command output:\n%s\n", output1)
if err != nil {
fmt.Printf("Error running command: %v\n", err)
return err
}

fmt.Printf("Command output:\n%s\n", output1)

return nil
}

0 comments on commit 6380fcb

Please sign in to comment.