From 2bd03ca72546bfc4a42551893f2d8f11f1bf6861 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Fri, 14 Jun 2019 22:54:19 +0900 Subject: [PATCH] Use halfwidth space instead of fullwidth space in code (#5054) --- src/games/reversi/core.ts | 2 +- src/services/logger.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/games/reversi/core.ts b/src/games/reversi/core.ts index cf8986263b40..09d23e2b707d 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 190bbdd253ef..c393f017c2e4 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 | null, important = false): void { // 実行を継続できるが改善すべき状況で使う + public warn(message: string, data?: Record | null, important = false): void { // 実行を継続できるが改善すべき状況で使う this.log('warning', message, data, important); }