diff --git a/scripts/bench-version.js b/scripts/bench-version.js index eaa7a75b..accc7a8b 100644 --- a/scripts/bench-version.js +++ b/scripts/bench-version.js @@ -15,7 +15,7 @@ import { execFileSync } from 'node:child_process'; -const GIT_OPTS = { encoding: 'utf8', stdio: ['pipe', 'pipe', 'pipe'] }; +const GIT_OPTS = { encoding: 'utf8', timeout: 10_000 }; export function getBenchmarkVersion(pkgVersion, cwd) { try {