Remove version from component name when considering used plugins in screen docs
This commit is contained in:
parent
1f1f482f9d
commit
5100ecb48d
|
@ -55,7 +55,7 @@ exports.save = async ctx => {
|
|||
.filter(plugin => {
|
||||
return (
|
||||
plugin.schema.type === "component" &&
|
||||
pluginNames.includes(`plugin/${plugin.name}/${plugin.version}`)
|
||||
pluginNames.includes(`plugin/${plugin.name}`)
|
||||
)
|
||||
})
|
||||
|
||||
|
@ -71,6 +71,7 @@ exports.save = async ctx => {
|
|||
name: plugin.name,
|
||||
version: plugin.version,
|
||||
jsUrl: plugin.jsUrl,
|
||||
hash: plugin.hash,
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue