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:
valadaptive
2023-12-02 11:11:29 -05:00
parent 14afa1575b
commit 39bbef376f
3 changed files with 2 additions and 2 deletions

View File

@ -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();