小程序仓库路径统一化完成
This commit is contained in:
@@ -13,9 +13,10 @@ const getDirs = (dir, list = [], cb) => {
|
||||
return list
|
||||
}
|
||||
getDirs(path.join(__dirname, '..', 'src'), [], (dir, path) => {
|
||||
if (dir.name == "apps") {
|
||||
if (["apps"].includes(dir.name)) {
|
||||
fse.remove(path)
|
||||
console.log("已清除%s", path)
|
||||
}
|
||||
return dir.name != "apps"
|
||||
return !["apps"].includes(dir.name)
|
||||
})
|
||||
fse.remove(path.join(__dirname, '..', 'lib'))
|
||||
|
||||
Reference in New Issue
Block a user