(tempDirectory: string)
| 181 | 'exec', |
| 182 | 'vercel', |
| 183 | ...args, |
| 184 | '--scope', |
| 185 | 'kilocode', |
| 186 | '--non-interactive', |
| 187 | '--no-color', |
| 188 | '--cwd', |
| 189 | context.cwd, |
| 190 | ]; |
| 191 | const child = spawn('pnpm', commandArgs, { |
| 192 | cwd: findRepoRoot(), |
| 193 | env: { |
| 194 | ...process.env, |
| 195 | VERCEL_ORG_ID: context.orgId, |
| 196 | VERCEL_PROJECT_ID: context.project, |
| 197 | }, |
| 198 | stdio: ['ignore', 'pipe', 'pipe'], |
| 199 | }); |
| 200 | const stdout: Buffer[] = []; |
| 201 | const stderr: Buffer[] = []; |
| 202 | let outputBytes = 0; |
| 203 | let settled = false; |
| 204 | |
| 205 | const fail = (error: Error) => { |
| 206 | if (settled) return; |
no test coverage detected