From cdcb73f13799f6e14236450d7f918fa20a09dcd0 Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 8 Feb 2021 12:39:48 +0000 Subject: [PATCH] not lower.. --- src/bin/plugins/checkPlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/plugins/checkPlugin.js b/src/bin/plugins/checkPlugin.js index 2b9c91617..919fe2b5b 100755 --- a/src/bin/plugins/checkPlugin.js +++ b/src/bin/plugins/checkPlugin.js @@ -325,7 +325,7 @@ fs.readdir(pluginPath, (err, rootFiles) => { if (readme.toLowerCase().indexOf('travis') !== -1) { console.warn('Remove Travis badges'); } - if (readme.toLowerCase().indexOf('workflows/Node.js%20Package/badge.svg') === -1) { + if (readme.indexOf('workflows/Node.js%20Package/badge.svg') === -1) { console.warn('No Github workflow badge detected'); if (autoFix) { readme = `${badgeOne} ${badgeTwo}\n${readme}`;