Use getNormalizedAbsolutePath to combine basePath and config value for file names

Fixes #34502 by being consistent in path normalization
This commit is contained in:
Sheetal Nandi committed 2019-10-16 15:38:29 -07:00
1 parent a4044ca684
commit 9fa7d8b3b9
3 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -2533,7 +2533,7 @@ namespace ts {
function normalizeNonListOptionValue(option: CommandLineOption, basePath: string, value: any): CompilerOptionsValue {
if (option.isFilePath) {
value = normalizePath(combinePaths(basePath, value));
value = getNormalizedAbsolutePath(value, basePath);
if (value === "") {
value = ".";
}