(dir: string, fileName?: string)
| 91 | } |
| 92 | |
| 93 | async function getConfigPath(dir: string, fileName?: string): Promise<string | undefined> { |
| 94 | logger.debug("Searching for the config file", { |
| 95 | dir, |
| 96 | fileName, |
| 97 | configFiles: CONFIG_FILES, |
| 98 | }); |
| 99 | |
| 100 | return await findUp(fileName ? [fileName] : CONFIG_FILES, { cwd: dir }); |
| 101 | } |
| 102 | |
| 103 | async function findFilePath(dir: string, fileName: string): Promise<string | undefined> { |
| 104 | const result = await findUp([fileName], { cwd: dir }); |
no test coverage detected
searching dependent graphs…