Node.js based forum software built for the modern web
added rewards essentials
Barış Soner Uşaklıab4d4478e39e
diff --git a/src/meta/dependencies.js b/src/meta/dependencies.jsindex e20f556b76..5482ad3e7f 100644--- a/src/meta/dependencies.js+++ b/src/meta/dependencies.js@@ -20,7 +20,7 @@ module.exports = function(Meta) {encoding: 'utf-8'}, function(err, pkgData) {// If a bundled plugin/theme is not present, skip the dep check (#3384)- if (err && err.code === 'ENOENT' && (module.startsWith('nodebb-plugin') || module.startsWith('nodebb-theme'))) {+ if (err && err.code === 'ENOENT' && (module === 'nodebb-rewards-essentials' || module.startsWith('nodebb-plugin') || module.startsWith('nodebb-theme'))) {winston.warn('[meta/dependencies] Bundled plugin ' + module + ' not found, skipping dependency check.');return next(true);}