Comparing version 0.6.0-beta.2 to 0.6.0-beta.3
@@ -244,3 +244,3 @@ 'use strict'; | ||
return true; | ||
}); | ||
}, function (e) { return false; }); | ||
}); | ||
@@ -255,3 +255,3 @@ }; | ||
fileIO.removeFile(this.object.bodyFile), | ||
]).return(); | ||
]).catch(function (e) { return null; }).return(); | ||
}; | ||
@@ -265,3 +265,3 @@ CacheStreamLoader.prototype.cacheTouch = function () { | ||
fileIO.touchFile(this.object.bodyFile) | ||
]).return(); | ||
]).catch(function (e) { return null; }).return(); | ||
}; | ||
@@ -268,0 +268,0 @@ CacheStreamLoader.prototype.readInfo = function () { |
@@ -123,3 +123,3 @@ 'use strict'; | ||
if (this.cacheSweepLast && this.cacheSweepLast.getTime() > Date.now() - this.opts.cache.cleanInterval) { | ||
return this._cleaning || Promise.resolve(); | ||
return Promise.resolve(); | ||
} | ||
@@ -185,5 +185,2 @@ var now = new Date(); | ||
return target; | ||
}).catch(function (e) { | ||
console.log('\n-stat error-\n'); | ||
console.log(e); | ||
}); | ||
@@ -224,2 +221,5 @@ }).then(function () { | ||
}); | ||
}).catch(function (e) { | ||
console.log('\n-removeFile error-\n'); | ||
console.log(e); | ||
}); | ||
@@ -226,0 +226,0 @@ }); |
@@ -231,2 +231,4 @@ 'use strict'; | ||
return stat.isFile(); | ||
}).catch(function (e) { | ||
return false; | ||
}); | ||
@@ -238,2 +240,4 @@ } | ||
return stat.isDirectory(); | ||
}).catch(function (e) { | ||
return false; | ||
}); | ||
@@ -240,0 +244,0 @@ } |
{ | ||
"name": "tsd", | ||
"version": "0.6.0-beta.2", | ||
"version": "0.6.0-beta.3", | ||
"description": "TypeScript Definition manager for DefinitelyTyped", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
328334
8483