We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 47d4bff + f703479 commit 6d7208cCopy full SHA for 6d7208c
tools/create-test.js
@@ -69,7 +69,7 @@ var rawCode = shelljs.cat(codeFilename),
69
// pop off first code, it will be an empty string
70
code.shift();
71
72
-if (sections.length !== code.length) {
+if (!sections || sections.length !== code.length) {
73
console.error("Missing a /*!espree-section: name*/ in the code file.");
74
process.exit(1);
75
}
0 commit comments