Skip to content

Commit

Permalink
fixing plugin-ext: typos in terminal-main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajsmit authored and marcdumais-work committed Dec 15, 2022
1 parent 4542e03 commit dc81358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-ext/src/main/browser/terminal-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ export class TerminalServiceMainImpl implements TerminalServiceMain, TerminalLin
}
}

async provideLinks(line: string, terminal: TerminalWidget, cancelationToken?: CancellationToken | undefined): Promise<TerminalLink[]> {
async provideLinks(line: string, terminal: TerminalWidget, cancellationToken?: CancellationToken | undefined): Promise<TerminalLink[]> {
if (this.terminalLinkProviders.length < 1) {
return [];
}
const links = await this.extProxy.$provideTerminalLinks(line, terminal.id, cancelationToken ?? CancellationToken.None);
const links = await this.extProxy.$provideTerminalLinks(line, terminal.id, cancellationToken ?? CancellationToken.None);
return links.map(link => ({ ...link, handle: () => this.extProxy.$handleTerminalLink(link) }));
}

Expand Down

0 comments on commit dc81358

Please sign in to comment.