(vaultId: string, name: string)
| 313 | ); |
| 314 | } |
| 315 | return response; |
| 316 | } |
| 317 | |
| 318 | function vercelApi(context: VercelContext, endpoint: string, operation: string): JsonRecord { |
| 319 | let output: string; |
| 320 | try { |
| 321 | output = vercel(context, apiArgs(context, endpoint), undefined, { |
| 322 | includeFailureOutput: true, |
| 323 | }); |
| 324 | } catch (error) { |
| 325 | if (error instanceof Error && /\(404\)/.test(error.message)) { |
no test coverage detected