File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class ConfigManager {
71
71
// if no config is specified, search current and parent directories for default config files.
72
72
// Only the first found config will be loaded.
73
73
for ( const defaultPath of DEFAULT_CONFIG_PATHS ) {
74
- const resolved = ConfigManager . _fileExistsRecursive ( defaultPath ) ;
74
+ const resolved = ConfigManager . _findFirstFileRecursive ( defaultPath ) ;
75
75
76
76
if ( resolved ) {
77
77
console . warn ( `Found config at '${ chalk . white ( resolved ) } '` ) ;
@@ -120,7 +120,7 @@ export class ConfigManager {
120
120
* @returns {string | null } The absolute path to the file or null if it doesn't exist.
121
121
* @private
122
122
*/
123
- static _fileExistsRecursive ( filePath ) {
123
+ static _findFirstFileRecursive ( filePath ) {
124
124
const maxDepth = 64 ;
125
125
126
126
let absPath = filePath ;
You can’t perform that action at this time.
0 commit comments