diff --git a/plugins/ai b/plugins/ai index 67a7c31..d5b0e6e 160000 --- a/plugins/ai +++ b/plugins/ai @@ -1 +1 @@ -Subproject commit 67a7c31120217f43e5cf456f71d9790e32429488 +Subproject commit d5b0e6ed9e7d6516ef6df404f216c38062126ffd diff --git a/validate.ts b/validate.ts index d34883b..d135eef 100644 --- a/validate.ts +++ b/validate.ts @@ -112,8 +112,8 @@ function main() { } else { // 验证所有插件 pluginDirs = fs.readdirSync(pluginsDir, { withFileTypes: true }) - .filter(entry => entry.isDirectory() && !entry.name.startsWith('.')) - .map(entry => entry.name) + .filter(entry => entry.isDirectory() && !entry.name.startsWith('.')) + .map(entry => entry.name) } console.log(`验证 ${ pluginDirs.length } 个插件...\n`)