feat(cli): 文件声明“不合法”修改为“缺失”
This commit is contained in:
@@ -339,10 +339,10 @@ const parseEntry = function ({ ast, package: module, indexPath }: ParseEntryOpti
|
||||
const { importComponentSource, importComponentToken, exportDefaultToken } = tokens;
|
||||
|
||||
if (!config) {
|
||||
info(`${module} ${EntryType.CONFIG} 文件声明不合法`);
|
||||
info(`${module} ${EntryType.CONFIG} 文件声明缺失`);
|
||||
}
|
||||
if (!value) {
|
||||
info(`${module} ${EntryType.VALUE} 文件声明不合法`);
|
||||
info(`${module} ${EntryType.VALUE} 文件声明缺失`);
|
||||
}
|
||||
if (!event) {
|
||||
info(`${module} ${EntryType.EVENT} 文件声明缺失`);
|
||||
|
||||
Reference in New Issue
Block a user