mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-31 09:35:39 -05:00
Merge VS Code 1.31.1 (#4283)
This commit is contained in:
@@ -301,7 +301,7 @@ export class LinkComputer {
|
||||
* document. *Note* that this operation is computational
|
||||
* expensive and should not run in the UI thread.
|
||||
*/
|
||||
export function computeLinks(model: ILinkComputerTarget): ILink[] {
|
||||
export function computeLinks(model: ILinkComputerTarget | null): ILink[] {
|
||||
if (!model || typeof model.getLineCount !== 'function' || typeof model.getLineContent !== 'function') {
|
||||
// Unknown caller!
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user