From 284267008200f2528050f655ab2bf0443ea3e115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 16 Nov 2019 17:14:38 +0100 Subject: [PATCH] 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 020042c8a..3d01ad787 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