exclude unofficial stuff

This commit is contained in:
Jill 2021-11-19 21:30:29 +03:00
parent 893d270547
commit 1be69836aa
1 changed files with 2 additions and 1 deletions

View File

@ -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)}`);
})();
})();