mirror of
https://github.com/openai/codex.git
synced 2026-04-30 11:21:34 +03:00
Removed "exec_policy" feature flag (#10851)
This is no longer needed because it's on by default
This commit is contained in:
@@ -278,9 +278,7 @@ pub async fn run_main_with_transport(
|
||||
}
|
||||
};
|
||||
|
||||
if let Ok(Some(err)) =
|
||||
check_execpolicy_for_warnings(&config.features, &config.config_layer_stack).await
|
||||
{
|
||||
if let Ok(Some(err)) = check_execpolicy_for_warnings(&config.config_layer_stack).await {
|
||||
let (path, range) = exec_policy_warning_location(&err);
|
||||
let message = ConfigWarningNotification {
|
||||
summary: "Error parsing rules; custom rules not applied.".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user