低代码平台完成

This commit is contained in:
aixianling
2022-06-22 16:55:31 +08:00
parent 6a8fa6135a
commit 9a2fac9e6f
8 changed files with 402 additions and 12 deletions

View File

@@ -34,4 +34,5 @@ const findFile = (dir = '.', cb) => {
}))
})
}
module.exports = {readdir, stat, findFile}
const readFile = promisify(fs.readFile)
module.exports = {readdir, stat, findFile, readFile}