mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
fix test failure
This commit is contained in:
@@ -1251,7 +1251,7 @@ class LinkProviderAdapter {
|
||||
return undefined;
|
||||
}
|
||||
const link = await asPromise(() => this._provider.resolveDocumentLink!(item, token));
|
||||
if (!link || LinkProviderAdapter._validateLink(link)) {
|
||||
if (!link || !LinkProviderAdapter._validateLink(link)) {
|
||||
return undefined;
|
||||
}
|
||||
return typeConvert.DocumentLink.from(link);
|
||||
|
||||
Reference in New Issue
Block a user