mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Make sure we use the normalized path in the task provider in all locations
This commit is contained in:
@@ -103,10 +103,11 @@ class TscTaskProvider implements vscode.TaskProvider {
|
||||
|
||||
const { configFileName } = res.body;
|
||||
if (configFileName && !isImplicitProjectConfigFile(configFileName)) {
|
||||
const uri = vscode.Uri.file(path.normalize(configFileName));
|
||||
const normalizedConfigPath = path.normalize(configFileName);
|
||||
const uri = vscode.Uri.file(normalizedConfigPath);
|
||||
const folder = vscode.workspace.getWorkspaceFolder(uri);
|
||||
return [{
|
||||
path: configFileName,
|
||||
path: normalizedConfigPath,
|
||||
workspaceFolder: folder
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user