cleanup: Don't linebreak before closing parentheses
Otherwise recent versions of eslint want "dangling" commas, which is at least ugly considering that most functions don't allow adding arguments at leasure. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1177
This commit is contained in:
@ -681,8 +681,7 @@ class AppSwitcher extends SwitcherPopup.SwitcherList {
|
||||
// Cache the window list now; we don't handle dynamic changes here,
|
||||
// and we don't want to be continually retrieving it
|
||||
appIcon.cachedWindows = allWindows.filter(
|
||||
w => windowTracker.get_window_app(w) == appIcon.app
|
||||
);
|
||||
w => windowTracker.get_window_app(w) === appIcon.app);
|
||||
if (appIcon.cachedWindows.length > 0)
|
||||
this._addIcon(appIcon);
|
||||
}
|
||||
|
Reference in New Issue
Block a user