Enable no-self-assign lint
This commit is contained in:
parent
c05aee8e72
commit
9204a31d32
|
@ -64,7 +64,6 @@ module.exports = {
|
|||
'require-yield': 'off',
|
||||
'no-case-declarations': 'off',
|
||||
'use-isnan': 'off',
|
||||
'no-self-assign': 'off',
|
||||
'no-constant-condition': ['error', {checkLoops: false}]
|
||||
}
|
||||
};
|
||||
|
|
|
@ -115,7 +115,6 @@ class ElevenLabsTtsProvider {
|
|||
await this.fetchTtsVoiceObjects().catch(error => {
|
||||
throw `TTS API key validation failed`
|
||||
})
|
||||
this.settings.apiKey = this.settings.apiKey
|
||||
console.debug(`Saved new API_KEY: ${this.settings.apiKey}`)
|
||||
$('#tts_status').text('')
|
||||
this.onSettingsChange()
|
||||
|
|
|
@ -1281,7 +1281,7 @@ export async function promptQuietForLoudResponse(who, text) {
|
|||
} else if (who === 'char') {
|
||||
text = characters[character_id].name + ": " + text;
|
||||
} else if (who === 'raw') {
|
||||
text = text;
|
||||
// We don't need to modify the text
|
||||
}
|
||||
|
||||
//text = `${text}${power_user.instruct.enabled ? '' : '\n'}${(power_user.always_force_name2 && who != 'raw') ? characters[character_id].name + ":" : ""}`
|
||||
|
|
Loading…
Reference in New Issue