We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47d4bff commit f703479Copy full SHA for f703479
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