(err: unknown)
| 464 | } |
| 465 | |
| 466 | function isMissingFileError(err: unknown): boolean { |
| 467 | return !!err && typeof err === 'object' && (err as { code?: string }).code === 'ENOENT' |
| 468 | } |
| 469 | |
| 470 | async function readConfigFile(target: string): Promise<PersistedConfig | null> { |
| 471 | try { |
no outgoing calls
no test coverage detected