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:
|
uses_functions:
|
||||||
- build_cpp_windows_bash_infra
|
- build_cpp_windows_bash_infra
|
||||||
uses_types: []
|
uses_types: []
|
||||||
returns: ""
|
returns: []
|
||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: "exit_code_bash_core"
|
error_type: "exit_code_bash_core"
|
||||||
imports: []
|
imports: []
|
||||||
|
|||||||
@@ -73,9 +73,9 @@ ensure_repo_synced() {
|
|||||||
# gitea_push_directory ya hace commit con su mensaje por defecto. Para
|
# gitea_push_directory ya hace commit con su mensaje por defecto. Para
|
||||||
# respetar commit_msg custom, hacemos commit aqui antes si hay cambios.
|
# respetar commit_msg custom, hacemos commit aqui antes si hay cambios.
|
||||||
if [[ -d "$directory/.git" ]]; then
|
if [[ -d "$directory/.git" ]]; then
|
||||||
local status
|
local git_status
|
||||||
status=$(git -C "$directory" status --porcelain)
|
git_status=$(git -C "$directory" status --porcelain)
|
||||||
if [[ -n "$status" ]]; then
|
if [[ -n "$git_status" ]]; then
|
||||||
echo "ensure_repo_synced: commiteando cambios con mensaje: $commit_msg" >&2
|
echo "ensure_repo_synced: commiteando cambios con mensaje: $commit_msg" >&2
|
||||||
git -C "$directory" add -A
|
git -C "$directory" add -A
|
||||||
git -C "$directory" \
|
git -C "$directory" \
|
||||||
|
|||||||
@@ -74,10 +74,10 @@ gitea_push_directory() {
|
|||||||
# Añadir y commitear cambios si los hay
|
# Añadir y commitear cambios si los hay
|
||||||
git -C "$directory" add -A
|
git -C "$directory" add -A
|
||||||
|
|
||||||
local status
|
local git_status
|
||||||
status=$(git -C "$directory" status --porcelain)
|
git_status=$(git -C "$directory" status --porcelain)
|
||||||
|
|
||||||
if [[ -n "$status" ]]; then
|
if [[ -n "$git_status" ]]; then
|
||||||
echo "gitea_push_directory: commiteando cambios..." >&2
|
echo "gitea_push_directory: commiteando cambios..." >&2
|
||||||
git -C "$directory" -c user.email="agent@fn-registry" -c user.name="fn-registry agent" \
|
git -C "$directory" -c user.email="agent@fn-registry" -c user.name="fn-registry agent" \
|
||||||
commit -m "chore: sync from fn-registry agent"
|
commit -m "chore: sync from fn-registry agent"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ signature: "func CdpSetCookie(c *CDPConn, name, value, domain, path string, http
|
|||||||
uses_functions: []
|
uses_functions: []
|
||||||
uses_types:
|
uses_types:
|
||||||
- cdp_conn_go_browser
|
- cdp_conn_go_browser
|
||||||
returns: ""
|
returns: []
|
||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: error_go_core
|
error_type: error_go_core
|
||||||
imports: []
|
imports: []
|
||||||
|
|||||||
Reference in New Issue
Block a user