mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-11 16:18:10 +00:00
Enable the @stylistic/ts/quotes eslint rule (#1850)
## Description: Enable the `@stylistic/ts/quotes` eslint rule. Fixes #1788 ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced
This commit is contained in:
@@ -97,7 +97,7 @@ export class NukeExecution implements Execution {
|
||||
if (this.nuke === null) {
|
||||
const spawn = this.src ?? this.player.canBuild(this.nukeType, this.dst);
|
||||
if (spawn === false) {
|
||||
console.warn(`cannot build Nuke`);
|
||||
console.warn("cannot build Nuke");
|
||||
this.active = false;
|
||||
return;
|
||||
}
|
||||
@@ -151,7 +151,7 @@ export class NukeExecution implements Execution {
|
||||
|
||||
// make the nuke unactive if it was intercepted
|
||||
if (!this.nuke.isActive()) {
|
||||
console.log(`Nuke destroyed before reaching target`);
|
||||
console.log("Nuke destroyed before reaching target");
|
||||
this.active = false;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user