mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
Fix shell filter CI checks
This commit is contained in:
@@ -155,7 +155,7 @@ fn remove_patterns_from_legacy_array(
|
||||
}
|
||||
items.retain(|item| {
|
||||
item.as_str()
|
||||
.is_none_or(|candidate| !patterns.iter().any(|pattern| candidate == *pattern))
|
||||
.is_none_or(|candidate| !patterns.contains(&candidate))
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -2646,7 +2646,7 @@
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/ShellEnvironmentPolicyFilter"
|
||||
},
|
||||
"description": "Pattern actions used by the canonical table representation.\n\nOrdinary config keeps accepting the legacy arrays above during the migration. Requirements will accept only this keyed form, keeping array compatibility isolated so the legacy fields can be deprecated later.",
|
||||
"description": "Pattern actions used by the canonical table representation.\n\nOrdinary config keeps accepting the legacy arrays above during the migration. Requirements will accept only this keyed form, keeping array compatibility isolated so the legacy fields can be deprecated later. Pattern keys merge case-sensitively across config layers even though the resulting patterns match environment variable names case-insensitively.",
|
||||
"type": "object"
|
||||
},
|
||||
"ignore_default_excludes": {
|
||||
|
||||
Reference in New Issue
Block a user