mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
fix: incorrect sanity check for theme plugin (#2205)
This commit is contained in:
parent
825c1fc688
commit
d8b62cff53
@ -19,7 +19,7 @@ export function loadTheme(config) {
|
||||
config.theme,
|
||||
{},
|
||||
function (plugin) {
|
||||
return _.isString(plugin);
|
||||
return plugin.staticPath && plugin.manifest && plugin.manifestFiles;
|
||||
},
|
||||
'verdaccio-theme'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user