feat: 语法错误修复

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

No files matched your search

+2 -2
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
}