From d0f467e0f1a10a5db26d082ef324bb01d57478d3 Mon Sep 17 00:00:00 2001 From: rjrodger Date: Thu, 21 Feb 2019 00:44:04 +0000 Subject: [PATCH] v0.1.2 --- cache.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cache.js b/cache.js index bffda52..59f6a97 100644 --- a/cache.js +++ b/cache.js @@ -82,7 +82,7 @@ function cache(options) { var val = msg.val if (typeof val !== 'number') { - return this.fail('op_failed_nan', { op: op, key: key, val: oldVal }) + return this.fail('op_failed_nan', { op: kind, key: key, val: oldVal }) } var oldVal = cache.get(key) diff --git a/package.json b/package.json index 79a4604..195f53c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@seneca/cache", - "version": "0.1.1", + "version": "0.1.2", "description": "In-memory caching plugin for seneca", "main": "cache.js", "scripts": {