Enable @stylistic/js/array-bracket-spacing lint

This commit is contained in:
Simon Ser 2025-02-20 17:51:46 +01:00
parent 95749ba516
commit f897e7d11b
2 changed files with 2 additions and 1 deletions

View file

@ -231,7 +231,7 @@ function insertMessage(list, msg) {
}
console.assert(insertBefore >= 0, "");
list = [ ...list ];
list = [...list];
list.splice(insertBefore, 0, msg);
return list;
}