mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
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 {
|
public get winner(): Color | null {
|
||||||
return this.isEnded ?
|
return this.isEnded ?
|
||||||
this.blackCount == this.whiteCount ? null :
|
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;
|
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);
|
this.log('warning', message, data, important);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user