summaryrefslogtreecommitdiff
path: root/shflow.sh
diff options
context:
space:
mode:
authorluisgulo <luisgulo@gmail.com>2025-11-08 10:40:30 +0100
committerluisgulo <luisgulo@gmail.com>2025-11-08 10:40:30 +0100
commit11aa8146f5ca95077d9bc92d8773cf7007beb68f (patch)
tree21ae23d1118ae05a2f94f04a65cbc3eb30e2f28c /shflow.sh
parentd6d0129a95725249983f409a8765da5ce609cdcd (diff)
Adjust error message in execution output
Diffstat (limited to 'shflow.sh')
-rwxr-xr-xshflow.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/shflow.sh b/shflow.sh
index a5fb993..38739d0 100755
--- a/shflow.sh
+++ b/shflow.sh
@@ -135,14 +135,14 @@ while [[ $# -gt 0 ]]; do
exit 0 ;;
*)
$PROJECT_ROOT/core/utils/eg.sh "$@"
- echo "$(render_msg "${tr[unknown_option]:-❌ Opción desconocida: {opt}}" "opt=$1")"
+ echo "$(render_msg "${tr[unknown_option]:-❌ Opción desconocida: {opt}" "opt=$1")"
exit 1 ;;
esac
done
# 📋 Validación de playbook
[ -z "$PLAYBOOK" ] && echo "${tr[no_playbook]:-❌ Playbook no especificado. Usa -f <archivo.yaml>}" && exit 1
-[ ! -f "$PLAYBOOK" ] && echo "$(render_msg "${tr[playbook_not_found]:-❌ Playbook no encontrado: {file}}" "file=$PLAYBOOK")" && exit 1
+[ ! -f "$PLAYBOOK" ] && echo "$(render_msg "${tr[playbook_not_found]:-❌ Playbook no encontrado: {file}" "file=$PLAYBOOK")" && exit 1
TASKS_JSON=$($YQ_BIN eval -o=json '.tasks' "$PLAYBOOK")