Permalink
Browse files

fix so the package list doesn't get printed

  • Loading branch information...
1 parent 49d995d commit 710e66e65ef1d76ae75337e0c795985dc1c61c30 @substack committed Oct 3, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −2 package.json
  2. +1 −0 top.js
View
@@ -1,6 +1,6 @@
{
"name" : "npmtop",
- "version" : "0.1.0",
+ "version" : "0.1.1",
"description" : "Silly program that ranks npm contributors by number of packages",
"repository" : {
"type" : "git",
@@ -12,7 +12,7 @@
"dependencies" : {
"hashish" : ">=0.0.2",
"sprintf" : ">=0.1.1",
- "npm" : ">=1.0.1",
+ "npm" : "1.0.90",
"optimist": ">=0.1.0"
},
"keywords" : [
View
1 top.js
@@ -8,6 +8,7 @@ var argv = require('optimist').argv;
var npmjs = require('./npmjs');
npm.load({ outfd : null }, function () {
+ npm.config.set('outfd', null);
npm.commands.search([], function (err, pkgs) {
var authors = {};
var total = Hash(pkgs).length;

0 comments on commit 710e66e

Please sign in to comment.