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:
parent
95f388b9a7
commit
2842670082
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user