Small note.

This commit is contained in:
André Cruz
2013-08-03 12:50:48 +01:00
parent 24cabf19af
commit 85b2ec93c8

View File

@@ -83,6 +83,8 @@ UrlResolver.prototype._hasNew = function (canonicalDir, pkgMeta) {
return !mout.object.equals(oldCacheHeaders, cacheHeaders);
}.bind(this), function () {
// Assume new contents if the request failed
// Note that we do not retry the request using the "request-replay" module
// because it would take too long
return true;
});
};