Skip to content

Commit

Permalink
Fix clean install
Browse files Browse the repository at this point in the history
  • Loading branch information
taylortom committed Nov 21, 2023
1 parent 5c065cb commit b22e2b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ContentPluginModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ class ContentPluginModule extends AbstractApiModule {
const installedPlugins = await this.framework.getInstalledPlugins()

if (!dbPlugins.length) { // no plugins in the DB, start afresh
return this.installPlugins(installedPlugins.map(p => `${p.name}@${p.requestedVersion}`))
const manifestPlugins = await this.framework.getManifestPlugins()
return this.installPlugins(manifestPlugins)
}
const missingPlugins = dbPlugins
.filter(dbP => !installedPlugins.find(fwP => dbP.name === fwP.name))
Expand Down

0 comments on commit b22e2b3

Please sign in to comment.