From ab4d4478e39e183babb8b75fe21868f892cba118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 11 Jan 2016 22:38:31 +0200 Subject: [PATCH] added rewards essentials --- src/meta/dependencies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/dependencies.js b/src/meta/dependencies.js index 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); }