未验证 提交 9e95d301 编写于 作者: X xlfsummer 提交者: GitHub

fix: 修复控制台输出错误

上级 5e3858b0
......@@ -13,7 +13,7 @@ module.exports = function migrate(input, out, options = {}) {
options.platform = options.platform || 'mp-weixin'
const migrater = migraters[options.platform]
if (!migrater) {
return console.error(`错误: 目前支持 Object.keys(migraters).join(',') 转换`)
return console.error(`错误: 目前支持 ${Object.keys(migraters).join(',')} 转换`)
}
input = path.resolve(input)
out = path.resolve(out || input)
......@@ -51,4 +51,4 @@ module.exports = function migrate(input, out, options = {}) {
}
})
patchVant(files, assets, out)
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册