提交 5e42a490 编写于 作者: M Martin Aeschlimann

Multi root: json.schema setting relative url doesnt get resolved to folder. Fixes #33453

上级 062d65d1
......@@ -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 });
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册