mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-11 20:37:46 -05:00
Use getNormalizedAbsolutePath to combine basePath and config value for file names
Fixes #34502 by being consistent in path normalization
This commit is contained in:
@@ -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 = ".";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user