(commonSourceDirGuess)
| 44262 | } |
| 44263 | return undefined; |
| 44264 | function getOutputDirectoriesForBaseDirectory(commonSourceDirGuess) { |
| 44265 | var _a, _b; |
| 44266 | // Config file ouput paths are processed to be relative to the host's current directory, while |
| 44267 | // otherwise the paths are resolved relative to the common source dir the compiler puts together |
| 44268 | var currentDir = state.compilerOptions.configFile ? ((_b = (_a = state.host).getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(_a)) || "" : commonSourceDirGuess; |
| 44269 | var candidateDirectories = []; |
| 44270 | if (state.compilerOptions.declarationDir) { |
| 44271 | candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.declarationDir))); |
| 44272 | } |
| 44273 | if (state.compilerOptions.outDir && state.compilerOptions.outDir !== state.compilerOptions.declarationDir) { |
| 44274 | candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.outDir))); |
| 44275 | } |
| 44276 | return candidateDirectories; |
| 44277 | } |
| 44278 | } |
| 44279 | } |
| 44280 | } |
no test coverage detected
searching dependent graphs…