mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 03:39:23 +00:00
Fix drive letter casing on typescript tasks
Occurs when opening by double clicking on workspace file. Fixes #75084
This commit is contained in:
@@ -234,7 +234,7 @@ class TscTaskProvider implements vscode.TaskProvider {
|
||||
|
||||
private getLabelForTasks(project: TSConfig): string {
|
||||
if (project.workspaceFolder) {
|
||||
return path.posix.relative(project.workspaceFolder.uri.path, project.posixPath);
|
||||
return path.posix.relative(path.posix.normalize(project.workspaceFolder.uri.path), path.posix.normalize(project.posixPath));
|
||||
}
|
||||
return project.posixPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user