diff --git a/scripts/plugins/update-dependencies.js b/scripts/plugins/update-dependencies.js index f7022e2a01..12b005d76f 100644 --- a/scripts/plugins/update-dependencies.js +++ b/scripts/plugins/update-dependencies.js @@ -91,7 +91,7 @@ function checkPluginDependencies() { if (pluginDependencies.dependencies.length > 0) { for (const dependency of pluginDependencies.dependencies) { - if (!installedDependencies.dependencies.includes(dependency)) { + if (!dependencies.dependencies.includes(dependency)) { missingDepdendencies.push(dependency); } } @@ -119,7 +119,7 @@ function checkPluginDevDependencies() { if (pluginDependencies.devDependencies.length > 0) { for (const dependency of pluginDependencies.devDependencies) { - if (!installedDependencies.devDependencies.includes(dependency)) { + if (!devDependencies.devDependencies.includes(dependency)) { missingDevDepdendencies.push(dependency); } }