Added eslint and fixed an issue from #158

This commit is contained in:
John Crepezzi 2017-06-26 12:19:36 -04:00
parent 3ed1d775ac
commit 5939dec185
6 changed files with 36 additions and 13 deletions

View file

@ -26,7 +26,7 @@ MemcachedDocumentStore.connect = function(options) {
// Save file in a key
MemcachedDocumentStore.prototype.set =
function(key, data, callback, skipExpire) {
MemcachedDocumentStore.client.set(key, data, function(err, reply) {
MemcachedDocumentStore.client.set(key, data, function(err) {
err ? callback(false) : callback(true);
}, skipExpire ? 0 : this.expire);
};