Fix duplicate resources sometimes opened from references

This commit is contained in:
Matt Bierner
2022-03-31 11:54:49 -07:00
parent e32a13be77
commit 6da26a9351

View File

@@ -81,11 +81,9 @@ function parseLink(
return undefined;
}
resourceUri = resourceUri.with({ fragment: tempUri.fragment });
return {
kind: 'internal',
path: resourceUri,
path: resourceUri.with({ fragment: '' }),
fragment: tempUri.fragment,
};
}