From d484731d8c44f8efa818a58d27b548b988ec11a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 20 May 2020 12:58:14 -0400 Subject: [PATCH] fix: derp includes --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }