isaacs/npm — pull request #2327 by mfncooper (2012-03-31 05:12:10+00:00)
Title: Don't die on an empty repo url.

When the repo url is an empty string, the check for just (repo.url) is insufficient, and leads the code to later assume that the repo object is a string when it's not. The same issue is presents in 'npm docs' and 'npm bugs'. This patch addresses both. Fixes #2313.