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:
parent
825c1fc688
commit
d8b62cff53
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue