mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-04-26 00:50:20 +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
|
// Skip binary files
|
||||||
if (
|
if (
|
||||||
content instanceof Uint8Array &&
|
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);
|
skippedFiles.push(filePath);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user