mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Enable no-undef lint
I'm not sure where run_edit is supposed to go or if any logic is missing. I just made my best guess.
This commit is contained in:
@ -191,7 +191,7 @@ class SystemTtsProvider {
|
||||
const voice = speechSynthesis.getVoices().find(x => x.voiceURI === voiceId);
|
||||
|
||||
if (!voice) {
|
||||
throw `TTS Voice name ${voiceName} not found`
|
||||
throw `TTS Voice id ${voiceId} not found`
|
||||
}
|
||||
|
||||
speechSynthesis.cancel();
|
||||
|
Reference in New Issue
Block a user