fix(ci): validate OpenSpec baseline headings in CRLF files

This commit is contained in:
Yann Roberto committed 2026-11-17 16:03:16 +08:00
1 parent 3f14a103a8
commit 2b559c058f
2 files changed
+17 -1

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ function collectEnforcedAnchors(content) {
*/
function splitBlocks(content) {
const blocks = [];
const lines = content.split('\n');
const lines = content.split(/\r?\n/);
let current = null;
for (const line of lines) {
let m = line.match(REQUIREMENT_RE);