2 Commits

Author SHA1 Message Date
58bcf0cea2 1.0.8 2018-08-22 00:35:03 +02:00
bf2d3f661e fix(remove obsolete console logs): update 2018-08-22 00:35:03 +02:00
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartcache", "name": "@pushrocks/smartcache",
"version": "1.0.7", "version": "1.0.8",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartcache", "name": "@pushrocks/smartcache",
"version": "1.0.7", "version": "1.0.8",
"private": false, "private": false,
"description": "cache things in smart ways", "description": "cache things in smart ways",
"main": "dist/index.js", "main": "dist/index.js",

View File

@@ -8,7 +8,7 @@ export class SmartCache {
let callStack: string = new plugins.smarterror.SmartError('').cleanFullStack; let callStack: string = new plugins.smarterror.SmartError('').cleanFullStack;
let callHash = plugins.nodehash.sha256FromStringSync(callStack); let callHash = plugins.nodehash.sha256FromStringSync(callStack);
console.log(callHash); // console.log(callHash);
if ( if (
this._cacheManager.cacheExists(callHash) && this._cacheManager.cacheExists(callHash) &&
(await this._cacheManager.waitForCacheReady(callHash)) && (await this._cacheManager.waitForCacheReady(callHash)) &&