(url: string | undefined, configPath: string | null)
| 334 | } |
| 335 | |
| 336 | function getUrlBasePath(url: string | undefined, configPath: string | null): string { |
| 337 | return url ? process.cwd() : configPath ? dirname(configPath) : process.cwd() |
| 338 | } |
| 339 | |
| 340 | function serializeBffError(error: unknown): SerializedError { |
| 341 | return getSerializedBffError(error) ?? serializeError(error) |