not lower..

checkPlugins-migrate-from-travis
John McLear 2021-02-08 12:39:48 +00:00
parent dbefff4e02
commit cdcb73f137
1 changed files with 1 additions and 1 deletions

View File

@ -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}`;