Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #99 from errata-ai/action-fix
Browse files Browse the repository at this point in the history
Temporarily disabled actions
  • Loading branch information
jdkato authored Aug 11, 2022
2 parents c13e1a7 + 72a8322 commit 8482c43
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/features/vsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ export default class ValeProvider implements vscode.CodeActionProvider {
let diagnostic: vscode.Diagnostic = context.diagnostics[0];
let actions: vscode.CodeAction[] = [];

return actions;

/* TODO: This needs more work / testing.
if (diagnostic === undefined) {
return actions;
}
let key = `${diagnostic.message}-${diagnostic.range}`;
let alert = this.alertMap[key];
Expand All @@ -166,7 +173,7 @@ export default class ValeProvider implements vscode.CodeActionProvider {
};
actions.push(action);
return actions;
return actions; */
}

private runCodeAction(
Expand Down

0 comments on commit 8482c43

Please sign in to comment.