style: Avoid unnecessary parentheses
The eslint check in CI is broken, and some style nits weren't caught as a consequence. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/105
This commit is contained in:
@@ -69,7 +69,7 @@ class MountMenuItem extends PopupMenu.PopupBaseMenuItem {
|
||||
_eject() {
|
||||
let unmountArgs = [
|
||||
Gio.MountUnmountFlags.NONE,
|
||||
(new ShellMountOperation.ShellMountOperation(this.mount)).mountOp,
|
||||
new ShellMountOperation.ShellMountOperation(this.mount).mountOp,
|
||||
null, // Gio.Cancellable
|
||||
];
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@ class PlaceDeviceInfo extends PlaceInfo {
|
||||
eject() {
|
||||
let unmountArgs = [
|
||||
Gio.MountUnmountFlags.NONE,
|
||||
(new ShellMountOperation.ShellMountOperation(this._mount)).mountOp,
|
||||
new ShellMountOperation.ShellMountOperation(this._mount).mountOp,
|
||||
null, // Gio.Cancellable
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user