mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
fix: normalize review exit template newlines
Co-authored-by: Codex noreply@openai.com
This commit is contained in:
co-authored by
Codex noreply@openai.com
parent
2e23ca8650
commit
d3e4866443
@@ -32,7 +32,8 @@ use super::SessionTask;
|
||||
use super::SessionTaskContext;
|
||||
|
||||
static REVIEW_EXIT_SUCCESS_TEMPLATE: LazyLock<Template> = LazyLock::new(|| {
|
||||
Template::parse(crate::client_common::REVIEW_EXIT_SUCCESS_TMPL)
|
||||
let template = crate::client_common::REVIEW_EXIT_SUCCESS_TMPL.replace("\r\n", "\n");
|
||||
Template::parse(&template)
|
||||
.unwrap_or_else(|err| panic!("review exit success template must parse: {err}"))
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user