mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-04-25 16:39:48 +00:00
Fix broken astro project git clone (#1352)
This commit is contained in:
parent
dc20bbc81f
commit
a33a1268c3
@ -70,7 +70,7 @@ export default function GitCloneButton({ importChat, className }: GitCloneButton
|
||||
// Skip binary files
|
||||
if (
|
||||
content instanceof Uint8Array &&
|
||||
!filePath.match(/\.(txt|md|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)$/i)
|
||||
) {
|
||||
skippedFiles.push(filePath);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user