mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Fix duplicate resources sometimes opened from references
This commit is contained in:
parent
e32a13be77
commit
6da26a9351
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue