fix: derp includes

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 6108064ea8
commit d484731d8c

@ -179,7 +179,7 @@ module.exports = function (grunt) {
};
function addBaseThemes(plugins) {
let themeId = plugins.find(p => p.contains('nodebb-theme-'));
let themeId = plugins.find(p => p.includes('nodebb-theme-'));
if (!themeId) {
return plugins;
}

Loading…
Cancel
Save