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:
@@ -18,7 +18,7 @@ output: "Exit code del .exe (0 = pass, no-cero = fail). stdout/stderr del .exe s
|
||||
uses_functions:
|
||||
- build_cpp_windows_bash_infra
|
||||
uses_types: []
|
||||
returns: ""
|
||||
returns: []
|
||||
returns_optional: false
|
||||
error_type: "exit_code_bash_core"
|
||||
imports: []
|
||||
|
||||
@@ -73,9 +73,9 @@ ensure_repo_synced() {
|
||||
# gitea_push_directory ya hace commit con su mensaje por defecto. Para
|
||||
# respetar commit_msg custom, hacemos commit aqui antes si hay cambios.
|
||||
if [[ -d "$directory/.git" ]]; then
|
||||
local status
|
||||
status=$(git -C "$directory" status --porcelain)
|
||||
if [[ -n "$status" ]]; then
|
||||
local git_status
|
||||
git_status=$(git -C "$directory" status --porcelain)
|
||||
if [[ -n "$git_status" ]]; then
|
||||
echo "ensure_repo_synced: commiteando cambios con mensaje: $commit_msg" >&2
|
||||
git -C "$directory" add -A
|
||||
git -C "$directory" \
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user