mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
chore: 修复metadata 插件加载失败的问题
This commit is contained in:
@@ -35,6 +35,9 @@ export default async function loadModules(dir) {
|
||||
continue
|
||||
}
|
||||
const content = fs.readFileSync(file, 'utf8')
|
||||
if(content.includes(" abstract ")){
|
||||
continue
|
||||
}
|
||||
const lines = content.split('\n')
|
||||
let allExport = true
|
||||
for (let line of lines) {
|
||||
|
||||
Reference in New Issue
Block a user