dependencies: Upgrade eslint from 6.0.1 to 6.6.0.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2019-11-08 17:48:01 -08:00
committed by Tim Abbott
parent 2eba3e7827
commit ffe8ec3450
7 changed files with 131 additions and 131 deletions

View File

@@ -288,7 +288,7 @@ Socket.prototype = {
opts = _.extend({wait_time: 0, reason: 'none_given'}, opts);
const that = this;
const now = (new Date()).getTime();
const now = new Date().getTime();
if (this._is_reconnecting && now - this._reconnect_initiation_time < 1000) {
// Only try to reconnect once a second
return;