Skip to content

Commit 3f8784b

Browse files
committed
remove: unused context param.
1 parent 027c0da commit 3f8784b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/configuration.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,9 @@ export class Configuration {
8585
/**
8686
* Configure the comment blocks.
8787
*
88-
* @param {vscode.ExtensionContext} context The context of the extension.
8988
* @returns {vscode.Disposable[]}
9089
*/
91-
public configureCommentBlocks(context: vscode.ExtensionContext) {
90+
public configureCommentBlocks() {
9291
const disposables: vscode.Disposable[] = [];
9392

9493
/**

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let configuration = new Configuration(logger);
1414
const disposables: vscode.Disposable[] = [];
1515

1616
export function activate(context: vscode.ExtensionContext) {
17-
const configureCommentBlocksDisposable = configuration.configureCommentBlocks(context);
17+
const configureCommentBlocksDisposable = configuration.configureCommentBlocks();
1818
const registerCommandsDisposable = configuration.registerCommands();
1919

2020
disposables.push(...configureCommentBlocksDisposable, ...registerCommandsDisposable);
@@ -155,7 +155,7 @@ export function activate(context: vscode.ExtensionContext) {
155155
// Called when active editor language is changed, so re-configure the comment blocks.
156156
vscode.workspace.onDidOpenTextDocument(() => {
157157
logger.info("Active editor language changed, re-configuring comment blocks.");
158-
const configureCommentBlocksDisposable = configuration.configureCommentBlocks(context);
158+
const configureCommentBlocksDisposable = configuration.configureCommentBlocks();
159159
disposables.push(...configureCommentBlocksDisposable);
160160
});
161161

0 commit comments

Comments
 (0)