(startDir: string)
| 118 | */ |
| 119 | const Config = { |
| 120 | find(startDir: string): ConfigT { |
| 121 | const configPath = findConfigPath(startDir); |
| 122 | invariant( |
| 123 | configPath, |
| 124 | `Can't find "${RN_CLI_CONFIG}" file in any parent folder of "${startDir}"`, |
| 125 | ); |
| 126 | return this.loadFile(configPath, startDir); |
| 127 | }, |
| 128 | |
| 129 | findOptional(startDir: string): ConfigT { |
| 130 | const configPath = findConfigPath(startDir); |
nothing calls this directly
no test coverage detected
searching dependent graphs…