Commit 28426700 authored by Florian Müllner's avatar Florian Müllner

cleanup: Remove another pair of unneeded parentheses

Eslint didn't spot this before version 6.5, so this fell through
the cracks.
parent 95f388b9
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment