We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b24f8f3 commit 5bcf861Copy full SHA for 5bcf861
1 file changed
src/compiler/program.ts
@@ -947,7 +947,9 @@ namespace ts {
947
return currentDirectory;
948
}
949
950
- return getNormalizedPathFromPathComponents(commonPathComponents);
+ const path = getNormalizedPathFromPathComponents(commonPathComponents);
951
+ const relativePath = convertToRelativePath(path, currentDirectory, getCanonicalFileName);
952
+ return relativePath;
953
954
955
function checkSourceFilesBelongToPath(sourceFiles: SourceFile[], rootDirectory: string): boolean {
0 commit comments