Skip to content

Commit

Permalink
Revert "Merge pull request errata-ai#89 from apupier/removeUnusedVari…
Browse files Browse the repository at this point in the history
…able"

This reverts commit ddfe83a, reversing
changes made to 956ad51.
  • Loading branch information
ChrisChinchilla committed Aug 9, 2022
1 parent 5b9590d commit 94303a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/features/vsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default class ValeProvider implements vscode.CodeActionProvider {
private logger!: vscode.OutputChannel;

private async doVale(textDocument: vscode.TextDocument) {
const configuration = vscode.workspace.getConfiguration();
if (!utils.isElligibleDocument(textDocument)) {
return;
}
Expand Down Expand Up @@ -218,6 +219,7 @@ export default class ValeProvider implements vscode.CodeActionProvider {
public async activate(subscriptions: vscode.Disposable[]) {
this.logger = vscode.window.createOutputChannel("Vale");

const configuration = vscode.workspace.getConfiguration();
this.command = vscode.commands.registerCommand(
ValeProvider.commandId,
this.runCodeAction,
Expand Down

0 comments on commit 94303a1

Please sign in to comment.