( file: string, preserveSymlinks?: boolean, )
| 1143 | } |
| 1144 | |
| 1145 | function tryResolveRealFile( |
| 1146 | file: string, |
| 1147 | preserveSymlinks?: boolean, |
| 1148 | ): string | undefined { |
| 1149 | const stat = tryStatSync(file) |
| 1150 | if (stat?.isFile()) return getRealPath(file, preserveSymlinks) |
| 1151 | } |
| 1152 | |
| 1153 | function tryResolveRealFileWithExtensions( |
| 1154 | filePath: string, |
no test coverage detected