mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-11 17:07:07 +01:00
eslint update
This commit is contained in:
parent
68c87f7e7a
commit
63724a2b38
@ -213,7 +213,7 @@ export class ToolManager {
|
|||||||
static #applyToolCallDelta(target, delta) {
|
static #applyToolCallDelta(target, delta) {
|
||||||
for (const key in delta) {
|
for (const key in delta) {
|
||||||
if (!delta.hasOwnProperty(key)) continue;
|
if (!delta.hasOwnProperty(key)) continue;
|
||||||
if (key === "__proto__" || key === "constructor") continue;
|
if (key === '__proto__' || key === 'constructor') continue;
|
||||||
|
|
||||||
const deltaValue = delta[key];
|
const deltaValue = delta[key];
|
||||||
const targetValue = target[key];
|
const targetValue = target[key];
|
||||||
|
Loading…
Reference in New Issue
Block a user