From f397c33ac0c6104fbe8df0f8888d89f72326f657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20Healy?= Date: Mon, 20 Apr 2026 17:00:37 +0100 Subject: [PATCH] Add warning message. --- git-portfolio | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-portfolio b/git-portfolio index cf4b478..a805f17 100755 --- a/git-portfolio +++ b/git-portfolio @@ -221,6 +221,8 @@ li.language { EOF )" echo "$portfolio_index" > "$tmp_portfolio/index.html" +else + echo "Warning: No public repositories found for user '$GIT_USER'. Portfolio will be empty." >&2 fi if [ -d "$directory" ]; then if [ "$(du -sb "$directory" | cut -f1)" -gt $((1024 * 1024 * 400)) ]; then