summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/games/reversi/core.ts2
-rw-r--r--src/services/logger.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/games/reversi/core.ts b/src/games/reversi/core.ts
index cf8986263b..09d23e2b70 100644
--- a/src/games/reversi/core.ts
+++ b/src/games/reversi/core.ts
@@ -257,7 +257,7 @@ export default class Reversi {
public get winner(): Color | null {
return this.isEnded ?
this.blackCount == this.whiteCount ? null :
- this.opts.isLlotheo === this.blackCount > this.whiteCount ? WHITE : BLACK :
+ this.opts.isLlotheo === this.blackCount > this.whiteCount ? WHITE : BLACK :
undefined as never;
}
}
diff --git a/src/services/logger.ts b/src/services/logger.ts
index 190bbdd253..c393f017c2 100644
--- a/src/services/logger.ts
+++ b/src/services/logger.ts
@@ -90,7 +90,7 @@ export default class Logger {
}
}
- public warn(message: string, data?: Record<string, any> | null, important = false): void { // 実行を継続できるが改善すべき状況で使う
+ public warn(message: string, data?: Record<string, any> | null, important = false): void { // 実行を継続できるが改善すべき状況で使う
this.log('warning', message, data, important);
}