feat: 语法错误修复

This commit is contained in:
duanshuwen
2025-11-23 15:12:15 +08:00
parent 6013c38fe7
commit 0b1e7a6679
5 changed files with 631 additions and 1183 deletions

View File

@@ -5,8 +5,8 @@ function cleanDirectory(dirPath) {
const resolvedPath = path.resolve(dirPath)
const parentDir = path.basename(path.dirname(resolvedPath))
if (parentDir !== 'packages') {
console.error(`Error: Directory "${resolvedPath}" is not inside a "packages" folder`)
if (parentDir !== 'out') {
console.error(`Error: Directory "${resolvedPath}" is not inside a "out" folder`)
return
}