Skip to content

Commit 7abc807

Browse files
committed
Remove the unused instruction_key variable
1 parent 4565aa0 commit 7abc807

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/vscode/src/view/backend/view-provider.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,6 @@ export class ViewProvider implements vscode.WebviewViewProvider {
496496

497497
let current_instructions = ''
498498
let new_instructions = ''
499-
let instruction_key = ''
500499
const mode: WebMode | ApiMode = is_in_code_completions_mode
501500
? 'code-completions'
502501
: this.home_view_type === HOME_VIEW_TYPES.WEB
@@ -527,7 +526,6 @@ export class ViewProvider implements vscode.WebviewViewProvider {
527526
const new_caret_position = (before_caret + text).replace(/ +/g, ' ').length
528527

529528
new_instructions = new_instructions.replace(/ +/g, ' ')
530-
instruction_key = `${mode}-instructions`
531529

532530
switch (mode) {
533531
case 'ask':

0 commit comments

Comments
 (0)