[gnome-shell] cleanup: Remove another pair of unneeded parentheses
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] cleanup: Remove another pair of unneeded parentheses
- Date: Sat, 23 Nov 2019 01:29:33 +0000 (UTC)
commit 284267008200f2528050f655ab2bf0443ea3e115
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Nov 16 17:14:38 2019 +0100
cleanup: Remove another pair of unneeded parentheses
Eslint didn't spot this before version 6.5, so this fell through
the cracks.
js/misc/extensionUtils.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/misc/extensionUtils.js b/js/misc/extensionUtils.js
index 020042c8ae..3d01ad787c 100644
--- a/js/misc/extensionUtils.js
+++ b/js/misc/extensionUtils.js
@@ -40,7 +40,7 @@ const SERIALIZED_PROPERTIES = ['type', 'state', 'path', 'error', 'hasPrefs', 'ca
* an extension.
*/
function getCurrentExtension() {
- let stack = (new Error()).stack.split('\n');
+ let stack = new Error().stack.split('\n');
let extensionStackLine;
// Search for an occurrence of an extension stack frame
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]