We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcbd294 commit 5fda732Copy full SHA for 5fda732
.github/algorithm-format-check.mjs
@@ -94,7 +94,7 @@ for (const filename of filenames) {
94
// Still grammar, not algorithm
95
continue;
96
}
97
- if (lines[i + 1] !== "") {
+ if (rest.trim() === "" && lines[i + 1] !== "") {
98
console.log(
99
`No empty space after grammar ${grammarName} header in '${filename}'`
100
);
0 commit comments