Skip to content

Commit 2daf886

Browse files
committed
fix merge conflict
1 parent f959c07 commit 2daf886

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ export const askToSelectPrompt = async (
7676
): Promise<void> => {
7777
const { promptFiles, resource, quickInputService, labelService } = options;
7878

79-
// a sanity check - this function must be used only if there are prompt files to show
80-
assert(
81-
promptFiles.length > 0,
82-
'Prompt files list must not be empty.',
83-
);
84-
8579
const fileOptions = promptFiles.map((promptFile) => {
8680
return createPickItem(promptFile, labelService);
8781
});

0 commit comments

Comments
 (0)