Skip to content

Commit

Permalink
Fix drive letter casing on typescript tasks
Browse files Browse the repository at this point in the history
Occurs when opening by double clicking on workspace file. Fixes #75084
  • Loading branch information
alexr00 committed Jun 25, 2019
1 parent d978e48 commit 7f365d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7f365d2

Please sign in to comment.