提交 8e7c1d3e 编写于 作者: Q qiang

fix: lint cli

上级 5ccc8341
...@@ -390,11 +390,7 @@ function initAutoComponents () { ...@@ -390,11 +390,7 @@ function initAutoComponents () {
}) })
if (conflictFiles.length > 0) { if (conflictFiles.length > 0) {
conflictFiles.forEach(files => { conflictFiles.forEach(files => {
let usedFile
console.warn('easycom组件冲突:[' + files.map((file, index) => { console.warn('easycom组件冲突:[' + files.map((file, index) => {
if (index === 0) {
usedFile = file
}
return file return file
}).join(',') + ']') }).join(',') + ']')
console.log('\n') console.log('\n')
...@@ -543,4 +539,4 @@ module.exports = { ...@@ -543,4 +539,4 @@ module.exports = {
getGlobalUsingComponentsCode, getGlobalUsingComponentsCode,
parseUsingAutoImportComponents, parseUsingAutoImportComponents,
generateGlobalUsingComponentsCode generateGlobalUsingComponentsCode
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册