mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-19 23:10:21 +01:00
fix: derp includes
This commit is contained in:
@@ -179,7 +179,7 @@ module.exports = function (grunt) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function addBaseThemes(plugins) {
|
function addBaseThemes(plugins) {
|
||||||
let themeId = plugins.find(p => p.contains('nodebb-theme-'));
|
let themeId = plugins.find(p => p.includes('nodebb-theme-'));
|
||||||
if (!themeId) {
|
if (!themeId) {
|
||||||
return plugins;
|
return plugins;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user