1
0
mirror of synced 2026-03-24 03:38:34 +08:00

feat(cli): 文件声明“不合法”修改为“缺失”

This commit is contained in:
kevinyzheng
2022-11-04 16:18:18 +08:00
committed by roymondchen
parent 958bcd3ec5
commit 6c5cc55f31

View File

@@ -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} 文件声明缺失`);