mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
Multi root: json.schema setting relative url doesnt get resolved to folder. Fixes #33453
This commit is contained in:
@@ -219,9 +219,8 @@ function getSettings(): Settings {
|
||||
url = Uri.file(path.normalize(path.join(folder.uri.fsPath, url))).toString();
|
||||
}
|
||||
let fileMatch = schema.fileMatch;
|
||||
|
||||
if (fileMatch) {
|
||||
fileMatch = fileMatch.map(m => path.join(folder.uri.path + '*', m));
|
||||
fileMatch = fileMatch.map(m => folder.uri.toString() + '*' + m);
|
||||
}
|
||||
schemas.push({ url, fileMatch, schema: schema.schema });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user