mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-17 22:10:23 +01:00
fix: derp includes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user