mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Enable no-extra-semi lint
This commit is contained in:
@ -133,7 +133,7 @@ export function replaceVariableMacros(input) {
|
||||
// Replace {{addvar::name::value}} with empty string and add value to the variable value
|
||||
line = line.replace(/{{addvar::([^:]+)::([^}]+)}}/gi, (_, name, value) => {
|
||||
name = name.trim();
|
||||
addLocalVariable(name, value);;
|
||||
addLocalVariable(name, value);
|
||||
return '';
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user