提交 e0380076 编写于 作者: Q quyatong

”修复冲突的问题“

上级 b5c4c129
......@@ -286,13 +286,8 @@ const checkScript = async (result) => {
}
});
<<<<<<< Updated upstream
if (!result['interface']) {
let interfaceFile = script.file.replace(new RegExp('\.(' + platforms.join('|') + ')\.cml$', 'ig'), '.interface');
=======
if (!result['interface'] && script) {
let interfaceFile = script.file.replace(new RegExp('\\.(' + platforms.join('|') + ')\\.cml$', 'ig'), '.interface');
>>>>>>> Stashed changes
if (/\.interface$/.test(interfaceFile)) {
result['interface'] = {
messages: [{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册