diff --git a/src/commands/readme.js b/src/commands/readme.js index 11e81d351..00813c63c 100644 --- a/src/commands/readme.js +++ b/src/commands/readme.js @@ -101,7 +101,7 @@ module.exports.handler = function readme(argv) { '', '' ); - if (!diffRaw.length) { + if (diffRaw.split('\n').length === 5) { log(`${argv.readmeFile} is up to date.`); process.exit(0); }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: