From 8c92e221a32a3cf76294036f1de4894e813c3686 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 4 Apr 2017 16:29:05 +0100 Subject: [PATCH] long line --- src/store/indexeddb.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store/indexeddb.js b/src/store/indexeddb.js index 507c54b4d..402057591 100644 --- a/src/store/indexeddb.js +++ b/src/store/indexeddb.js @@ -146,7 +146,9 @@ IndexedDBStore.prototype.save = function() { const now = Date.now(); if (now - this._syncTs > WRITE_DELAY_MS) { this._syncTs = Date.now(); // set now to guard against multi-writes - return this.backend.syncToDatabase(this.getUsers()).catch((err) => {console.error("sync fail:", err);}); + return this.backend.syncToDatabase(this.getUsers()).catch((err) => { + console.error("sync fail:", err); + }); } return q(); };