cleanup: Remove spaces in object literals
We only adopted this style relatively recently, so there's a bit more to adjust. Still, it's manageable and another step towards getting rid of the legacy style. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866>
This commit is contained in:

committed by
Marge Bot

parent
6a22af83dc
commit
071f92cfb6
@ -465,7 +465,7 @@ export class ExtensionManager extends Signals.EventEmitter {
|
||||
}
|
||||
|
||||
async unloadExtension(extension) {
|
||||
const { uuid, type } = extension;
|
||||
const {uuid, type} = extension;
|
||||
|
||||
// Try to disable it -- if it's ERROR'd, we can't guarantee that,
|
||||
// but it will be removed on next reboot, and hopefully nothing
|
||||
@ -486,7 +486,7 @@ export class ExtensionManager extends Signals.EventEmitter {
|
||||
async reloadExtension(oldExtension) {
|
||||
// Grab the things we'll need to pass to createExtensionObject
|
||||
// to reload it.
|
||||
let { uuid, dir, type } = oldExtension;
|
||||
let {uuid, dir, type} = oldExtension;
|
||||
|
||||
// Then unload the old extension.
|
||||
await this.unloadExtension(oldExtension);
|
||||
|
Reference in New Issue
Block a user