Phr33d0m
commited on
Fix broken astro project git clone (#1352)
Browse files
app/components/chat/GitCloneButton.tsx
CHANGED
|
@@ -70,7 +70,7 @@ export default function GitCloneButton({ importChat, className }: GitCloneButton
|
|
| 70 |
// Skip binary files
|
| 71 |
if (
|
| 72 |
content instanceof Uint8Array &&
|
| 73 |
-
!filePath.match(/\.(txt|md|js|jsx|ts|tsx|json|html|css|scss|less|yml|yaml|xml|svg)$/i)
|
| 74 |
) {
|
| 75 |
skippedFiles.push(filePath);
|
| 76 |
continue;
|
|
|
|
| 70 |
// Skip binary files
|
| 71 |
if (
|
| 72 |
content instanceof Uint8Array &&
|
| 73 |
+
!filePath.match(/\.(txt|md|astro|mjs|js|jsx|ts|tsx|json|html|css|scss|less|yml|yaml|xml|svg)$/i)
|
| 74 |
) {
|
| 75 |
skippedFiles.push(filePath);
|
| 76 |
continue;
|