Skip to content

Commit

Permalink
fix: go bin path (#195)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel N <2color@users.noreply.github.com>
  • Loading branch information
2color and 2color authored Mar 10, 2025
1 parent 7e4e936 commit 3df98fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gateway-conformance/src/conformance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ function getGatewayConformanceBinaryPath (): string {
if (process.env.GATEWAY_CONFORMANCE_BINARY != null) {
return process.env.GATEWAY_CONFORMANCE_BINARY
}
const goPath = process.env.GOPATH ?? join(homedir(), 'go', 'bin')
return join(goPath, 'gateway-conformance')
const goPath = process.env.GOPATH ?? join(homedir(), 'go')
return join(goPath, 'bin', 'gateway-conformance')
}

function getConformanceTestArgs (name: string, gwcArgs: string[] = [], goTestArgs: string[] = []): string[] {
Expand Down

0 comments on commit 3df98fc

Please sign in to comment.