Shorten options upgrade list (#1252)

This commit is contained in:
toasted-nutbread 2021-01-16 15:35:21 -05:00 committed by GitHub
parent b234294540
commit b560019af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -458,38 +458,14 @@ class OptionsUtil {
_getVersionUpdates() { _getVersionUpdates() {
return [ return [
{ {async: false, update: this._updateVersion1.bind(this)},
async: false, {async: false, update: this._updateVersion2.bind(this)},
update: this._updateVersion1.bind(this) {async: true, update: this._updateVersion3.bind(this)},
}, {async: true, update: this._updateVersion4.bind(this)},
{ {async: false, update: this._updateVersion5.bind(this)},
async: false, {async: true, update: this._updateVersion6.bind(this)},
update: this._updateVersion2.bind(this) {async: false, update: this._updateVersion7.bind(this)},
}, {async: true, update: this._updateVersion8.bind(this)}
{
async: true,
update: this._updateVersion3.bind(this)
},
{
async: true,
update: this._updateVersion4.bind(this)
},
{
async: false,
update: this._updateVersion5.bind(this)
},
{
async: true,
update: this._updateVersion6.bind(this)
},
{
async: false,
update: this._updateVersion7.bind(this)
},
{
async: true,
update: this._updateVersion8.bind(this)
}
]; ];
} }