(projectPath?: string)
| 71 | } |
| 72 | |
| 73 | async function projectFilePath(projectPath?: string): Promise<string | null> { |
| 74 | // Find the configuration, either where specified, in the Angular CLI project |
| 75 | // (if it's in node_modules) or from the current process. |
| 76 | return ( |
| 77 | (projectPath && (await findUp(configNames, projectPath))) || |
| 78 | (await findUp(configNames, process.cwd())) || |
| 79 | (await findUp(configNames, __dirname)) |
| 80 | ); |
| 81 | } |
| 82 | |
| 83 | function globalFilePath(): string | null { |
| 84 | const home = os.homedir(); |
no test coverage detected