mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Disable hooks on windows for now (#15252)
We'll verify a bit later that all of this works correctly and re-enable
This commit is contained in:
committed by
GitHub
Unverified
parent
f7201e5a9f
commit
cc192763e1
@@ -74,6 +74,17 @@ impl ClaudeHooksEngine {
|
||||
};
|
||||
}
|
||||
|
||||
if cfg!(windows) {
|
||||
return Self {
|
||||
handlers: Vec::new(),
|
||||
warnings: vec![
|
||||
"Disabled `codex_hooks` for this session because `hooks.json` lifecycle hooks are not supported on Windows yet."
|
||||
.to_string(),
|
||||
],
|
||||
shell,
|
||||
};
|
||||
}
|
||||
|
||||
let _ = schema_loader::generated_hook_schemas();
|
||||
let discovered = discovery::discover_handlers(config_layer_stack);
|
||||
Self {
|
||||
|
||||
Reference in New Issue
Block a user