(error: unknown)
| 166 | ? { |
| 167 | ...process.env, |
| 168 | VERCEL_ORG_ID: context.orgId, |
| 169 | VERCEL_PROJECT_ID: context.project, |
| 170 | } |
| 171 | : process.env, |
| 172 | input, |
| 173 | includeFailureOutput: options.includeFailureOutput, |
| 174 | } |
| 175 | ); |
| 176 | } |
| 177 | |
| 178 | function vercelAsync(context: VercelContext, args: string[]): Promise<string> { |
| 179 | return new Promise((resolve, reject) => { |
| 180 | const commandArgs = [ |
| 181 | 'exec', |
| 182 | 'vercel', |
| 183 | ...args, |
| 184 | '--scope', |
no test coverage detected