Turned on no-useless-concat lint and fixed it in code

This commit is contained in:
BB
2022-03-16 20:43:04 +01:00
parent 3aabbb7aaa
commit 4eb59ac70c
15 changed files with 26 additions and 29 deletions

View File

@@ -1313,9 +1313,7 @@ export function createProgramWork(this: IPlayer, numCycles: number): boolean {
export function finishCreateProgramWork(this: IPlayer, cancelled: boolean): string {
const programName = this.createProgramName;
if (cancelled === false) {
dialogBoxCreate(
"You've finished creating " + programName + "!<br>" + "The new program can be found on your home computer.",
);
dialogBoxCreate(`You've finished creating ${programName}!<br>The new program can be found on your home computer.`);
this.getHomeComputer().programs.push(programName);
} else {