Fix scheme check

Fixes #135361
This commit is contained in:
Matt Bierner
2021-10-20 13:51:49 -07:00
parent 04f51add61
commit d51d2910d8
@@ -100,7 +100,7 @@ function getResourceToLoad(
function containsResource(root: URI, resource: URI): boolean {
if (root.scheme !== resource.scheme) {
return true;
return false;
}
let rootPath = root.fsPath + (root.fsPath.endsWith(sep) ? '' : sep);