(emailPath)
| 422 | } |
| 423 | |
| 424 | export async function readLocalEmailFile(emailPath) { |
| 425 | const readCandidates = getEmailReadCandidates(emailPath); |
| 426 | const res = await loadConfig({ |
| 427 | sources: readCandidates, |
| 428 | merge: false, |
| 429 | }); |
| 430 | if (!res.config) return; |
| 431 | const relativePath = path.relative(process.cwd(), res.sources[0]); |
| 432 | return { path: relativePath, email: res.config }; |
| 433 | } |
| 434 | |
| 435 | export async function readInstantConfigFile() { |
| 436 | return ( |
no test coverage detected