From be54fa00377526f7d857e7e811d5cf53e763556c Mon Sep 17 00:00:00 2001 From: Rob Koch Date: Fri, 4 Apr 2025 05:54:34 -0700 Subject: [PATCH] whitelist vue and svelte files --- app/components/chat/GitCloneButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat/GitCloneButton.tsx b/app/components/chat/GitCloneButton.tsx index 6cb2378..a450c2c 100644 --- a/app/components/chat/GitCloneButton.tsx +++ b/app/components/chat/GitCloneButton.tsx @@ -70,7 +70,7 @@ export default function GitCloneButton({ importChat, className }: GitCloneButton // Skip binary files if ( content instanceof Uint8Array && - !filePath.match(/\.(txt|md|astro|mjs|js|jsx|ts|tsx|json|html|css|scss|less|yml|yaml|xml|svg)$/i) + !filePath.match(/\.(txt|md|astro|mjs|js|jsx|ts|tsx|json|html|css|scss|less|yml|yaml|xml|svg|vue|svelte)$/i) ) { skippedFiles.push(filePath); continue;