fix test failure
This commit is contained in:
parent
2ee2163ff6
commit
f2fe357377
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue