ESLint: allow for..of
This commit is contained in:
parent
ff4aa228f6
commit
9e9a815a2b
36 changed files with 6 additions and 57 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2018-2020 Signal Messenger, LLC
|
||||
// Copyright 2018-2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
const { isFunction, isObject, isString, omit } = require('lodash');
|
||||
|
@ -392,7 +392,6 @@ exports.upgradeSchema = async (
|
|||
}
|
||||
|
||||
let message = rawMessage;
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
for (let index = 0, max = VERSIONS.length; index < max; index += 1) {
|
||||
if (maxVersion < index) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue