Chore: cache GC

This commit is contained in:
SukkaW
2024-11-21 10:59:13 +08:00
parent abb32bf7c2
commit 9299bc6838
5 changed files with 47 additions and 2 deletions

View File

@@ -154,8 +154,6 @@ async function transformRuleset(parentSpan: Span, sourcePath: string, relativePa
const id = basename;
const [type] = relativePath.slice(0, -extname.length).split(path.sep);
console.log({ relativePath, basename, id, type });
if (type !== 'ip' && type !== 'non_ip') {
throw new TypeError(`Invalid type: ${type}`);
}