0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix: incorrect sanity check for theme plugin (#2205)

This commit is contained in:
Claude 2021-04-28 01:53:12 +08:00 committed by GitHub
parent 825c1fc688
commit d8b62cff53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ export function loadTheme(config) {
config.theme,
{},
function (plugin) {
return _.isString(plugin);
return plugin.staticPath && plugin.manifest && plugin.manifestFiles;
},
'verdaccio-theme'
)