cleanup: Avoid pointless "renames" in destructuring
ES5 allows to rename variables in object destructuring, however this only makes sense when we want to use a different name than the object property. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/731
This commit is contained in:
@ -286,7 +286,7 @@ var ExtensionManager = class {
|
||||
reloadExtension(oldExtension) {
|
||||
// Grab the things we'll need to pass to createExtensionObject
|
||||
// to reload it.
|
||||
let { uuid: uuid, dir: dir, type: type } = oldExtension;
|
||||
let { uuid, dir, type } = oldExtension;
|
||||
|
||||
// Then unload the old extension.
|
||||
this.unloadExtension(oldExtension);
|
||||
|
Reference in New Issue
Block a user