in util/extract.js [98:105]
function extract_needs(filePath) {
needs(extname(filePath) === ext, `Unsupported ext ${ext}`);
needs(
() => statSync(filePath).isFile(),
`Specification file ${filePath} does not exist.`
);
return filePath;
}