Fix linting

pull/51/head
Kyle Carberry 2 years ago
parent 68ef2970b8
commit 91be83eb43

@ -10,6 +10,8 @@ const dirs = files.filter(
let badExit = false; let badExit = false;
// error reports an error to the console and sets badExit to true
// so that the process will exit with a non-zero exit code.
const error = (...data: any[]) => { const error = (...data: any[]) => {
console.error(...data); console.error(...data);
badExit = true; badExit = true;
@ -87,7 +89,6 @@ for (const dir of dirs) {
if (!code) { if (!code) {
error(dir.name, "missing example code block after paragraph"); error(dir.name, "missing example code block after paragraph");
} }
badExit = true;
} }
if (badExit) { if (badExit) {

Loading…
Cancel
Save