more ~cowbell~ sarcasm

This commit is contained in:
AJ ONeal 2019-06-25 23:42:20 -06:00
parent 7feafcfd49
commit 4cb8c71b41

View File

@ -29,6 +29,13 @@ hnai
.packages(username)
.then(function(pkgnames) {
console.info('');
if (!pkgnames.length) {
console.info("You've published " + pkgnames.length + ' packages to npm. Hmm.');
console.info('Well, we all have to start somewhere.... except maybe you.... you just... keep doing you. 👍');
console.info('');
process.exit(1337);
return;
}
console.info("You've published " + pkgnames.length + ' packages to npm and you get...');
hnai.downloads(pkgnames).then(function(downloads) {
var total = downloads.reduce(function(sum, el) {