Use halfwidth space instead of fullwidth space in code (#5054)
This commit is contained in:
parent
67dda01fcb
commit
2bd03ca725
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue