(compilerPath?: string)
| 1128 | let compilerName: string = ""; |
| 1129 | let compilerArgsFromCommandLineInPath: string[] = []; |
| 1130 | const trimLegacyQuotes = (compilerPath?: string): string | undefined => { |
| 1131 | if (compilerPath && useLegacyBehavior) { |
| 1132 | // Try to trim quotes from compiler path. |
| 1133 | const tempCompilerPath: string[] = extractArgs(compilerPath); |
| 1134 | if (tempCompilerPath.length > 0) { |
| 1135 | return tempCompilerPath[0]; |
| 1136 | } |
| 1137 | } |
| 1138 | return compilerPath; |
| 1139 | }; |
| 1140 | if (compilerPath) { |
| 1141 | compilerPath = compilerPath.trim(); |
| 1142 | if (isCl(compilerPath) || checkExecutableWithoutExtensionExistsSync(compilerPath)) { |
no test coverage detected