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:
Florian Müllner
2020-01-26 23:33:11 +01:00
parent 330e7b312d
commit b25c4d07a7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
];
+1 -1
View File
@@ -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
];