diff --git a/Gruntfile.js b/Gruntfile.js index 5beb0895f2..4ed9949c6e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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; }