Skip to content

Commit

Permalink
fix(eslint): rename ctx variable to context (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Jan 25, 2021
1 parent 00a3b78 commit 3a29ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ async function main(): Promise<void> {
[
"import * as sourcegraph from 'sourcegraph'",
'',
'export function activate(ctx: sourcegraph.ExtensionContext): void {',
' ctx.subscriptions.add(',
'export function activate(context: sourcegraph.ExtensionContext): void {',
' context.subscriptions.add(',
" sourcegraph.languages.registerHoverProvider(['*'], {",
' provideHover: () => ({',
' contents: {',
Expand Down

0 comments on commit 3a29ff8

Please sign in to comment.