()
| 400 | } |
| 401 | |
| 402 | export async function readLocalPermsFile() { |
| 403 | const readCandidates = getPermsReadCandidates(); |
| 404 | const res = await loadConfig({ |
| 405 | sources: readCandidates, |
| 406 | merge: false, |
| 407 | }); |
| 408 | if (!res.config) return; |
| 409 | const relativePath = path.relative(process.cwd(), res.sources[0]); |
| 410 | return { path: relativePath, perms: res.config }; |
| 411 | } |
| 412 | |
| 413 | export async function readLocalSchemaFile() { |
| 414 | const readCandidates = getSchemaReadCandidates(); |
nothing calls this directly
no test coverage detected