Skip to content

Commit 24aba07

Browse files
fix(ApiDOM): fallback links to an empty array (#5674)
1 parent ef14c82 commit 24aba07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/editor-monaco-language-apidom/language/providers/DocumentLinkProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class DocumentLinkProvider extends Provider {
77
try {
88
return await worker.doLinks(vscodeDocument.uri.toString());
99
} catch {
10-
return undefined;
10+
return [];
1111
}
1212
}
1313

0 commit comments

Comments
 (0)