mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-24 02:53:32 +08:00
docs: remove unicode safety violations from hook addendum
This commit is contained in:
@@ -87,9 +87,9 @@ hook command が `"C:\Program Files\Git\bin\bash.exe" "C:\Users\...\wrapper.sh"`
|
|||||||
### 回避策
|
### 回避策
|
||||||
|
|
||||||
第1トークンを bash.exe のフルパス+スペース付きパスにしないこと:
|
第1トークンを bash.exe のフルパス+スペース付きパスにしないこと:
|
||||||
1. ✅ `bash` (PATH 解決の単一トークン)— 夜fix / hooks.json パターン
|
1. `OK:` `bash` (PATH 解決の単一トークン)— 夜fix / hooks.json パターン
|
||||||
2. ✅ `.sh` 直接パス(Claude Code の .sh ハンドリングに依存)— 朝fix
|
2. `OK:` `.sh` 直接パス(Claude Code の .sh ハンドリングに依存)— 朝fix
|
||||||
3. ❌ `"C:\Program Files\Git\bin\bash.exe" "<path>"` — 1トークン目が quoted で空白込み
|
3. `BAD:` `"C:\Program Files\Git\bin\bash.exe" "<path>"` — 1トークン目が quoted で空白込み
|
||||||
|
|
||||||
## 結論
|
## 結論
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user