Skip to content

Commit

Permalink
fix edge case where build -o is pointing at an explicit file, not a d…
Browse files Browse the repository at this point in the history
…irectory
  • Loading branch information
onsi committed Mar 5, 2025
1 parent 4df06c6 commit 7556a86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ginkgo/build/build_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ func buildSpecs(args []string, cliConfig types.CLIConfig, goFlagsConfig types.Go
}
if stat.IsDir() {
testBinPath = goFlagsConfig.O + "/" + suite.PackageName + ".test"
} else {
testBinPath = goFlagsConfig.O
}
}
if len(testBinPath) == 0 {
Expand Down

0 comments on commit 7556a86

Please sign in to comment.