mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-23 08:15:29 +00:00
fix(ci): validate OpenSpec baseline headings in CRLF files
This commit is contained in:
1 parent
3f14a103a8
commit
2b559c058f
2 files changed
+17
-1
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user