mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
tests: Fix JS warning
This commit is contained in:
parent
4543ca1620
commit
d439456048
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ for (let i = 0; i < testsModifyScope.length; i++) {
|
|||
|
||||
let matches = text.match(/(.*)\.(.*)/);
|
||||
if (matches) {
|
||||
[expr, base, attrHead] = matches;
|
||||
let [expr, base, attrHead] = matches;
|
||||
|
||||
if (!JsParse.isUnsafeExpression(base)) {
|
||||
with (obj) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue