Skip to content

Commit

Permalink
remove unused check
Browse files Browse the repository at this point in the history
  • Loading branch information
justschen committed Nov 13, 2024
1 parent dc81168 commit 0c1b374
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/vs/workbench/contrib/chat/browser/chatPasteProviders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { IChatRequestVariableEntry } from '../common/chatModel.js';
import { IExtensionService, isProposedApiEnabled } from '../../../services/extensions/common/extensions.js';
import { IUndoRedoService } from '../../../../platform/undoRedo/common/undoRedo.js';
import { Mimes } from '../../../../base/common/mime.js';
import { IAttachmentEdit } from '../../bulkEdit/browser/bulkEditService.js';

export class PasteImageProvider implements DocumentPasteEditProvider {

Expand Down Expand Up @@ -90,7 +89,7 @@ export class PasteImageProvider implements DocumentPasteEditProvider {
return;
}

const customEdit: IAttachmentEdit = {
const customEdit = {
resource: model.uri,
variable: imageContext,
undo: () => {
Expand Down Expand Up @@ -226,7 +225,7 @@ export class PasteTextProvider implements DocumentPasteEditProvider {
return;
}

const customEdit: IAttachmentEdit = {
const customEdit = {
resource: model.uri,
variable: copiedContext,
undo: () => {
Expand Down

0 comments on commit 0c1b374

Please sign in to comment.