mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
turns out the ToC was including itself when generating, which messed up comparisons and sometimes made the file rewrite endlessly. also fixed the slice so `<!-- End ToC -->` doesn’t get duplicated when we insert the new ToC. should behave nicely now - no extra rewrites, no doubled markers. Co-authored-by: Eric Traut <etraut@openai.com>
3.8 KiB
Executable File
3.8 KiB
Executable File