Spaces:
Paused
Paused
Lenson commited on
Commit ·
53e215a
1
Parent(s): 4b51cd8
fix: remove incorrect skip condition for files without directory prefix
Browse files- .hf/setup.sh +4 -4
.hf/setup.sh
CHANGED
|
@@ -51,8 +51,8 @@ download_from_supabase() {
|
|
| 51 |
# Extract filename only
|
| 52 |
local filename=$(basename "$remote_path")
|
| 53 |
|
| 54 |
-
# Skip
|
| 55 |
-
if [ -z "$filename" ]
|
| 56 |
continue
|
| 57 |
fi
|
| 58 |
|
|
@@ -130,8 +130,8 @@ download_from_supabase() {
|
|
| 130 |
# Extract filename only
|
| 131 |
local filename=$(basename "$remote_path")
|
| 132 |
|
| 133 |
-
# Skip
|
| 134 |
-
if [ -z "$filename" ]
|
| 135 |
echo "DEBUG: Skipping $remote_path (no filename)"
|
| 136 |
continue
|
| 137 |
fi
|
|
|
|
| 51 |
# Extract filename only
|
| 52 |
local filename=$(basename "$remote_path")
|
| 53 |
|
| 54 |
+
# Skip empty
|
| 55 |
+
if [ -z "$filename" ]; then
|
| 56 |
continue
|
| 57 |
fi
|
| 58 |
|
|
|
|
| 130 |
# Extract filename only
|
| 131 |
local filename=$(basename "$remote_path")
|
| 132 |
|
| 133 |
+
# Skip empty
|
| 134 |
+
if [ -z "$filename" ]; then
|
| 135 |
echo "DEBUG: Skipping $remote_path (no filename)"
|
| 136 |
continue
|
| 137 |
fi
|