mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 05:30:03 -05:00
fix compile error
This commit is contained in:
committed by
Oleg Solomko
parent
e7c4be1bcc
commit
7a2be83a1d
@@ -108,16 +108,16 @@ export const attachInstructionsFiles = async (
|
||||
|
||||
const widget = await getChatWidgetObject(options);
|
||||
|
||||
const wasAlreadyAttached: URI[] = [];
|
||||
const wereAlreadyAttached: URI[] = [];
|
||||
|
||||
for (const file of files) {
|
||||
if (widget.attachmentModel.promptInstructions.add(file)) {
|
||||
wasAlreadyAttached.push(file);
|
||||
wereAlreadyAttached.push(file);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
return { widget, wasAlreadyAttached };
|
||||
return { widget, wereAlreadyAttached };
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user