提交 18afce72 编写于 作者: fxy060608's avatar fxy060608

chore: 优化代码

上级 24f85761
......@@ -65,7 +65,7 @@ function checkIgnoreStatic (ignoreStatic) {
isIgnoreChecked = true
const existIgnore = new Set()
ignoreStatic.forEach(ignore => {
const dir = path.resolve.apply(path, [process.env.UNI_INPUT_DIR, ...ignore])
const dir = path.resolve(process.env.UNI_INPUT_DIR, ...ignore)
if (fs.existsSync(dir)) {
existIgnore.add(ignore.join('/'))
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册