diff --git a/index.js b/index.js index a87322d..2908aed 100644 --- a/index.js +++ b/index.js @@ -260,6 +260,7 @@ async function recursiveReaddir(rpath, p) { let i = 0; for (const f of files) { //if (f !== 'Isaac.d.ts') continue; + if (f.includes('unofficial/')) continue; i++; const filePath = path.resolve(declarationsPath, f); @@ -331,4 +332,4 @@ async function recursiveReaddir(rpath, p) { console.log(`\nfinished transpiling ${chalk.magentaBright(filesAmt)} ${chalk.gray(`+ ${files.length - filesAmt}`)} files in ${chalk.magentaBright(timeTotal + 'ms')} avg ${chalk.magentaBright((Math.floor(timeTotal / filesAmt * 100) / 100) + 'ms')} ${chalk.gray(`(${Math.floor(timeParsing/timeTotal * 1000 + 0.5) / 10}% spent parsing)`)}`); console.log(`total class cache size: ${chalk.magentaBright(Object.keys(classes).length + ' classes')}`) console.log(`check ${chalk.cyanBright(outPath)}`); -})(); \ No newline at end of file +})();