more ~cowbell~ sarcasm
This commit is contained in:
parent
7feafcfd49
commit
4cb8c71b41
@ -29,6 +29,13 @@ hnai
|
|||||||
.packages(username)
|
.packages(username)
|
||||||
.then(function(pkgnames) {
|
.then(function(pkgnames) {
|
||||||
console.info('');
|
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...');
|
console.info("You've published " + pkgnames.length + ' packages to npm and you get...');
|
||||||
hnai.downloads(pkgnames).then(function(downloads) {
|
hnai.downloads(pkgnames).then(function(downloads) {
|
||||||
var total = downloads.reduce(function(sum, el) {
|
var total = downloads.reduce(function(sum, el) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user