Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alashchev17 committed Nov 5, 2024
1 parent 731a74e commit 13f9793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quickProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export class QuickActionProvider implements vscode.CodeActionProvider {
if (!global || !global.side_panel || !global.side_panel._view) {
return;
}
// TODO: send auto_submit somehow?
const message = setInputValue({
value: messageBlock,
// eslint-disable-next-line @typescript-eslint/naming-convention
Expand Down Expand Up @@ -126,6 +125,7 @@ export class QuickActionProvider implements vscode.CodeActionProvider {
let middleLineOfSelection = 0;
let diagnosticMessage = '';

// if no diagnostic were present, taking user's selection instead
if (actionId === 'bugs' && context?.diagnostics && context.diagnostics.length > 0) {
const diagnostic = context.diagnostics[0];
diagnosticMessage = diagnostic.message;
Expand Down

0 comments on commit 13f9793

Please sign in to comment.