mirror of
https://github.com/openai/codex.git
synced 2026-09-03 14:59:03 +00:00
Previously, `codex exec` was printing `Warning: no file to write last message to` as a warning to stderr even though `--output-last-message` was not specified, which is wrong. This fixes the code and changes `handle_last_message()` so that it is only called when `last_message_path` is `Some`.