mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
parent
17e86debf7
commit
ffbd5de8c8
|
@ -221,12 +221,10 @@ export class TerminalLinkQuickpick extends DisposableStore {
|
|||
}
|
||||
|
||||
// Skip the link if it's a duplicate URI + line/col
|
||||
if (description) {
|
||||
if (linkUriKeys.has(label + '|' + description)) {
|
||||
continue;
|
||||
}
|
||||
linkUriKeys.add(label + '|' + description);
|
||||
if (linkUriKeys.has(label + '|' + (description ?? ''))) {
|
||||
continue;
|
||||
}
|
||||
linkUriKeys.add(label + '|' + (description ?? ''));
|
||||
}
|
||||
|
||||
picks.push({ label, link, description });
|
||||
|
|
Loading…
Reference in a new issue