Skip to content

Commit 3ab757d

Browse files
fix
1 parent 210aa0a commit 3ab757d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/build_map.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,20 +98,20 @@ find deploy -mindepth 1 -print | while read -r path; do
9898
esac
9999
file_size=$(stat -c%s "$path")
100100
TOTAL_SIZE=$((TOTAL_SIZE + file_size))
101-
101+
102102
# Output formatting
103103
if [ "$FILE_ID" -eq 1 ]; then
104-
printf "┌ %3d B | %s\n" "$(human_readable_size $file_size)" "$relative_path"
104+
printf "┌ %s | %s\n" "$(human_readable_size $file_size)" "$relative_path"
105105
elif [ "$FILE_ID" -eq "$TOTAL_FILES" ]; then
106-
printf "└ %3d B | %s\n" "$(human_readable_size $file_size)" "$relative_path"
106+
printf "└ %s | %s\n" "$(human_readable_size $file_size)" "$relative_path"
107107
else
108-
printf "├ %3d B | %s\n" "$(human_readable_size $file_size)" "$relative_path"
108+
printf "├ %s | %s\n" "$(human_readable_size $file_size)" "$relative_path"
109109
fi
110110

111111
# Build manifest entry
112112
if [[ "$first_line" != "// _just hide" ||
113113
"$first_line" != "// _just doNotModify+hide" ]]; then
114-
echo " _just_buildManifest.push({\"type\": \"$type\", \"path\": \"$relative_path\", \"size\": {\"bytes\": $file_size, \"string\": $(human_readable_size $file_size)}});" >> deploy/_just/static/$BUILD_ID/buildManifest.js
114+
echo " _just_buildManifest.push({\"type\": \"$type\", \"path\": \"$relative_path\", \"size\": {\"bytes\": $file_size, \"string\": \"$(human_readable_size $file_size)\"}});" >> deploy/_just/static/$BUILD_ID/buildManifest.js
115115
fi
116116
fi
117117

0 commit comments

Comments
 (0)