mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore: 忽略sourcemap,gen metadata
This commit is contained in:
@@ -56,7 +56,6 @@ async function genMetadata(){
|
||||
fs.rmSync("./metadata", { recursive: true });
|
||||
fs.mkdirSync("./metadata", { recursive: true });
|
||||
for (const key in modules) {
|
||||
console.log(key)
|
||||
const module = modules[key]
|
||||
const entry = Object.entries(module)
|
||||
for (const [name, value] of entry) {
|
||||
@@ -88,6 +87,7 @@ async function genMetadata(){
|
||||
const filePath = path.join(`./metadata/${pluginDefine.pluginType}_${pluginDefine.name}.yaml`)
|
||||
|
||||
pluginDefine.scriptFilePath = location
|
||||
console.log(location)
|
||||
const data = yaml.dump(pluginDefine)
|
||||
fs.writeFileSync(filePath,data ,'utf8')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user