We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b20825 commit 4b05d1fCopy full SHA for 4b05d1f
biome.json
@@ -13,9 +13,6 @@
13
"recommended": true,
14
"complexity": {
15
"noForEach": "off"
16
- },
17
- "suspicious": {
18
- "noAssignInExpressions": "off"
19
}
20
21
},
debug_toolbar/static/debug_toolbar/js/toolbar.js
@@ -350,8 +350,9 @@ const djdt = {
350
set(key, value, options = {}) {
351
if (typeof options.expires === "number") {
352
const days = options.expires;
353
- const t = (options.expires = new Date());
354
- t.setDate(t.getDate() + days);
+ const expires = new Date();
+ expires.setDate(expires.setDate() + days);
355
+ options.expires = expires;
356
357
358
document.cookie = [
0 commit comments