diff --git a/bazel/integration/test_runner/process_utils.ts b/bazel/integration/test_runner/process_utils.ts index 0ee01b330..5b2387981 100644 --- a/bazel/integration/test_runner/process_utils.ts +++ b/bazel/integration/test_runner/process_utils.ts @@ -47,7 +47,7 @@ export function runCommandInChildProcess( workingDir: string, env: NodeJS.ProcessEnv, ): Promise { - const humanReadableCommand = `${binary} ${args.join(' ')}`; + const humanReadableCommand = `${binary}${args.length ? ` ${args.join(' ')}` : ''}`; debug(`Executing command: ${humanReadableCommand} in ${workingDir}`); diff --git a/bazel/integration/test_runner/runner.ts b/bazel/integration/test_runner/runner.ts index 8a4c53f25..1a27db680 100644 --- a/bazel/integration/test_runner/runner.ts +++ b/bazel/integration/test_runner/runner.ts @@ -231,7 +231,7 @@ export class TestRunner { if (!success) { throw Error( - `Integration test command: \`${binary} ${evaluatedArgs.join(' ')}\` failed. ` + + `Integration test command: \`${binary.value} ${evaluatedArgs.join(' ')}\` failed. ` + `See error output above for details.`, ); }