summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2019-06-14 22:54:19 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-06-14 22:54:19 +0900
commit2bd03ca72546bfc4a42551893f2d8f11f1bf6861 (patch)
treeae35d989983aa69de930d85240c1fe7110abb3b3 /src
parentimage以外はproxyしないように (#5051) (diff)
downloadsharkey-2bd03ca72546bfc4a42551893f2d8f11f1bf6861.tar.gz
sharkey-2bd03ca72546bfc4a42551893f2d8f11f1bf6861.tar.bz2
sharkey-2bd03ca72546bfc4a42551893f2d8f11f1bf6861.zip
Use halfwidth space instead of fullwidth space in code (#5054)
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);
}