We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 819ab9a commit a6abab9Copy full SHA for a6abab9
src/bin/cc-safety-net.ts
@@ -95,7 +95,7 @@ async function runClaudeCodeHook(): Promise<void> {
95
return;
96
}
97
98
- const cwd = input.tool_input?.workdir ?? process.cwd();
+ const cwd = input.cwd ?? process.cwd();
99
const strict = envTruthy("SAFETY_NET_STRICT");
100
const paranoidAll = envTruthy("SAFETY_NET_PARANOID");
101
const paranoidRm = paranoidAll || envTruthy("SAFETY_NET_PARANOID_RM");
0 commit comments