mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 09:25:45 +01:00
fix: restore plugin upgrade checking logic
unintended regression from ac86937c88
This commit is contained in:
@@ -90,8 +90,8 @@ async function getSuggestedModules(nbbVersion, toCheck) {
|
|||||||
async function checkPlugins() {
|
async function checkPlugins() {
|
||||||
process.stdout.write('Checking installed plugins and themes for updates... ');
|
process.stdout.write('Checking installed plugins and themes for updates... ');
|
||||||
const [plugins, nbbVersion] = await Promise.all([
|
const [plugins, nbbVersion] = await Promise.all([
|
||||||
getInstalledPlugins,
|
getInstalledPlugins(),
|
||||||
getCurrentVersion,
|
getCurrentVersion(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const toCheck = Object.keys(plugins);
|
const toCheck = Object.keys(plugins);
|
||||||
|
|||||||
Reference in New Issue
Block a user