Permalink
Browse files

O what a difference a - makes.

  • Loading branch information...
1 parent 1e329f0 commit cf0d351a1fea45e9936161023da8037cd5ac3afe @isaacs isaacs committed Aug 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/get.js
View
@@ -13,7 +13,7 @@ function get (uri, timeout, nofollow, staleOk, cb) {
if (typeof cb !== "function") cb = version, version = null
timeout = Math.min(timeout, this.conf.get('cache-max') || 0)
- timeout = Math.max(timeout, this.conf.get('cache-min') || Infinity)
+ timeout = Math.max(timeout, this.conf.get('cache-min') || -Infinity)
if (!this.conf.get('registry')) timeout = Infinity

0 comments on commit cf0d351

Please sign in to comment.