fix: zsh-safe var rename + yaml returns as list

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-12 03:13:53 +02:00
parent 70c50a2229
commit 5cf3615bbb
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -74,10 +74,10 @@ gitea_push_directory() {
# Añadir y commitear cambios si los hay
git -C "$directory" add -A
local status
status=$(git -C "$directory" status --porcelain)
local git_status
git_status=$(git -C "$directory" status --porcelain)
if [[ -n "$status" ]]; then
if [[ -n "$git_status" ]]; then
echo "gitea_push_directory: commiteando cambios..." >&2
git -C "$directory" -c user.email="agent@fn-registry" -c user.name="fn-registry agent" \
commit -m "chore: sync from fn-registry agent"