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
No known key found for this signature in database
GPG key ID: 099C331567E11888

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,
};
}