Remove some debug logging

This commit is contained in:
Reinier Criel 2025-11-06 12:25:55 -08:00
parent dd2894faab
commit e88aede939
5 changed files with 0 additions and 4 deletions

View file

@ -7,8 +7,6 @@ remove_shim_from_path() {
echo "$PATH" | sed "s|$HOME/.safe-chain/shims:||g"
}
echo "[safe-chain debug] command -v {{AIKIDO_COMMAND}} (raw PATH): $(command -v {{AIKIDO_COMMAND}} 2>/dev/null || echo notfound)" >&2
echo "[safe-chain debug] PATH (raw): $PATH" >&2
if command -v {{AIKIDO_COMMAND}} >/dev/null 2>&1; then
# Remove shim directory from PATH when calling {{AIKIDO_COMMAND}} to prevent infinite loops
PATH=$(remove_shim_from_path) exec {{AIKIDO_COMMAND}} "$@"