From d858b6faca1bf0c04afba4ca64878cd0b6a28b04 Mon Sep 17 00:00:00 2001 From: Behruz Nassre Esfahani Date: Thu, 25 Jun 2026 20:25:20 -0700 Subject: [PATCH] fix(#1698): use CRLF-safe split in codex-exec flags test The lint-tests check (local/no-crlf-fragile-split) flagged splitting readFileSync content on literal "\n". Use .split(/\r?\n/) for Windows git-autocrlf portability. Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/enh-773-codex-exec-automation-flags.test.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/enh-773-codex-exec-automation-flags.test.cjs b/tests/enh-773-codex-exec-automation-flags.test.cjs index 3c9063019..55c8cf7e4 100644 --- a/tests/enh-773-codex-exec-automation-flags.test.cjs +++ b/tests/enh-773-codex-exec-automation-flags.test.cjs @@ -113,7 +113,7 @@ describe('#1698 regression: codex review is captured via --output-last-message, 'utf8' ); const codexExecLines = workflow - .split('\n') + .split(/\r?\n/) .filter((line) => line.includes('codex exec') && !line.includes('codex exec --help')); test('every codex exec invocation captures the review via -o ', () => {