mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
use relative path from current directory
This commit is contained in:
@@ -947,7 +947,9 @@ namespace ts {
|
||||
return currentDirectory;
|
||||
}
|
||||
|
||||
return getNormalizedPathFromPathComponents(commonPathComponents);
|
||||
const path = getNormalizedPathFromPathComponents(commonPathComponents);
|
||||
const relativePath = convertToRelativePath(path, currentDirectory, getCanonicalFileName);
|
||||
return relativePath;
|
||||
}
|
||||
|
||||
function checkSourceFilesBelongToPath(sourceFiles: SourceFile[], rootDirectory: string): boolean {
|
||||
|
||||
Reference in New Issue
Block a user