()
| 20136 | const upperName = path.basename(filePath).toUpperCase(); |
| 20137 | for (const actualName of yield readdir(directory)) { |
| 20138 | if (upperName === actualName.toUpperCase()) { |
| 20139 | filePath = path.join(directory, actualName); |
| 20140 | break; |
| 20141 | } |
| 20142 | } |
| 20143 | } catch (err) { |
| 20144 | console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`); |
| 20145 | } |
| 20146 | return filePath; |
| 20147 | } else { |
| 20148 | if (isUnixExecutable(stats)) { |
no test coverage detected