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
@ -398,7 +398,7 @@ class EndSessionDialog extends ModalDialog.ModalDialog {
|
||||
// Use a different description when we are installing a system upgrade
|
||||
// if the PackageKit proxy is available (i.e. PackageKit is available).
|
||||
if (dialogContent.upgradeDescription) {
|
||||
const { name, version } = this._updateInfo.PreparedUpgrade;
|
||||
const {name, version} = this._updateInfo.PreparedUpgrade;
|
||||
if (name != null && version != null)
|
||||
description = dialogContent.upgradeDescription(name, version);
|
||||
}
|
||||
|
Reference in New Issue
Block a user