mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
10 lines
524 B
Bash
10 lines
524 B
Bash
#!/usr/bin/env bash
|
|||
|
|
# Kimi's [[hooks]] TOML entry has no `env` field — an entry carrying one is
|
||
|
|
# silently dropped whole (live-verified: "Ignored invalid config ... hooks",
|
||
|
|
# run continues with NO hooks installed at all). ROBOCO_GUARD_SKIP_GIT=1 must
|
||
|
|
# therefore ride a wrapper's own export, not the hook config, since kimi's
|
||
|
|
# `command` is a plain path (unverified whether it shell-interprets the
|
||
|
|
# string, so `env VAR=1 cmd` is not assumed safe).
|
||
|
|
export ROBOCO_GUARD_SKIP_GIT=1
|
||
|
|
exec /app/scripts/bash-guard-hook.sh "$@"
|