Skip to content

Commit 4aaada5

Browse files
authored
Update llms-txt-validation.js
1 parent c9f93ae commit 4aaada5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llms-txt-validation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ return fetch('/llms.txt')
88
const m = s=> (text.match(new RegExp(`\\${s}`,'g'))||[]).length;
99
if ((text.match(/```/g)||[]).length %2) return JSON.stringify({valid:0,error:""});
1010
if (m('[')!==m(']')||m('(')!==m(')')) return JSON.stringify({valid:0,error:""});
11-
return JSON.stringify({valid":1});
11+
return JSON.stringify({valid:1});
1212
});
1313
})
1414
.catch(error => {

0 commit comments

Comments
 (0)