mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue