Browse Source

Fixes autolinking with remote providers

main
Eric Amodio 5 years ago
parent
commit
913827a44b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/annotations/autolinks.ts

+ 2
- 2
src/annotations/autolinks.ts View File

@ -47,11 +47,11 @@ export class Autolinks implements Disposable {
}
}
if (remotes !== undefined) {
if (remotes != null && remotes.length !== 0) {
for (const r of remotes) {
if (r.provider === undefined) continue;
for (const ref of this._references) {
for (const ref of r.provider.autolinks) {
if (requiresGenerator(ref)) {
ref.linkify = this._getAutolinkGenerator(ref);
}

Loading…
Cancel
Save