File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff 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 /**
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ let configuration = new Configuration(logger);
1414const disposables : vscode . Disposable [ ] = [ ] ;
1515
1616export 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
You can’t perform that action at this time.
0 commit comments