Add warning message.
This commit is contained in:
@@ -221,6 +221,8 @@ li.language {
|
|||||||
EOF
|
EOF
|
||||||
)"
|
)"
|
||||||
echo "$portfolio_index" > "$tmp_portfolio/index.html"
|
echo "$portfolio_index" > "$tmp_portfolio/index.html"
|
||||||
|
else
|
||||||
|
echo "Warning: No public repositories found for user '$GIT_USER'. Portfolio will be empty." >&2
|
||||||
fi
|
fi
|
||||||
if [ -d "$directory" ]; then
|
if [ -d "$directory" ]; then
|
||||||
if [ "$(du -sb "$directory" | cut -f1)" -gt $((1024 * 1024 * 400)) ]; then
|
if [ "$(du -sb "$directory" | cut -f1)" -gt $((1024 * 1024 * 400)) ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user