cleanup: Remove another pair of unneeded parentheses

Eslint didn't spot this before version 6.5, so this fell through
the cracks.
This commit is contained in:
Florian Müllner 2019-11-16 17:14:38 +01:00
parent 95f388b9a7
commit 2842670082

View File

@ -40,7 +40,7 @@ const SERIALIZED_PROPERTIES = ['type', 'state', 'path', 'error', 'hasPrefs', 'ca
* an extension. * an extension.
*/ */
function getCurrentExtension() { function getCurrentExtension() {
let stack = (new Error()).stack.split('\n'); let stack = new Error().stack.split('\n');
let extensionStackLine; let extensionStackLine;
// Search for an occurrence of an extension stack frame // Search for an occurrence of an extension stack frame