Fix codefactor issue

This commit is contained in:
SpectralFlame 2022-11-10 23:33:05 -06:00 committed by cyip92
parent fc44a0f8ec
commit 2b53ee72a0

View File

@ -77,7 +77,8 @@ export default {
if (this.config.scrambleText) {
this.description = capitalize(value).replace("*", wordShift.wordCycle(this.config.scrambleText, true));
this.updateFunction = () =>
this.description = capitalize(description()).replace("*", wordShift.wordCycle(this.config.scrambleText, true));
this.description = capitalize(description())
.replace("*", wordShift.wordCycle(this.config.scrambleText, true));
return;
}
this.description = capitalize(value);