const results = await getLatestPluginsVersion(npmNames)
for (const result of results) {
- const plugin = pluginIndex[ result.npmName ]
+ const plugin = pluginIndex[result.npmName]
if (!result.latestVersion) continue
if (
plugin.latestVersion = result.latestVersion
await plugin.save()
- logger.info('Plugin %s has a new latest version %s.', PluginModel.buildNpmName(plugin.name, plugin.type), plugin.latestVersion)
+ logger.info('Plugin %s has a new latest version %s.', result.npmName, plugin.latestVersion)
}
}
} catch (err) {