fix: activate native protocol hooks in nested worktrees

This commit is contained in:
冰朔 2026-08-04 23:24:43 +08:00
commit 97858eb8b5
7 changed files with 48 additions and 4 deletions

View file

@ -1,5 +1,8 @@
#!/usr/bin/env sh
set -eu
hook_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
cd "$hook_dir/.."
bash scripts/test-guanghu-native-authority.sh
node scripts/validate-guanghu-native-profile.mjs