chore(backend): remove debug code
This commit is contained in:
parent
b759732349
commit
120b60cb05
|
@ -295,9 +295,6 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit {
|
|||
isLlotheo: false,
|
||||
noIrregularRules: options.noIrregularRules,
|
||||
}, { relations: ['user1', 'user2'] });
|
||||
if (game.user1 === game.user2) {
|
||||
throw new Error('broken match');
|
||||
}
|
||||
this.cacheGame(game);
|
||||
|
||||
const packed = await this.reversiGameEntityService.packDetail(game);
|
||||
|
|
|
@ -400,8 +400,6 @@ export default abstract class Chart<T extends Schema> {
|
|||
|
||||
this.logger.info(`${this.name + (group ? `:${group}` : '')}(${span}): New commit created`);
|
||||
|
||||
console.log(log);
|
||||
|
||||
return log;
|
||||
} finally {
|
||||
unlock();
|
||||
|
@ -431,7 +429,6 @@ export default abstract class Chart<T extends Schema> {
|
|||
// これを回避するための実装は複雑になりそうなため、一旦保留。
|
||||
|
||||
const update = async (logHour: RawRecord<T>, logDay: RawRecord<T>): Promise<void> => {
|
||||
console.log(logHour, logDay);
|
||||
const finalDiffs = {} as Record<string, number | string[]>;
|
||||
|
||||
for (const diff of this.buffer.filter(q => q.group == null || (q.group === logHour.group)).map(q => q.diff)) {
|
||||
|
|
|
@ -125,7 +125,6 @@ export const miRepository = {
|
|||
builder.setFindOptions(findOptions);
|
||||
}
|
||||
const raw = await builder.execute();
|
||||
console.log(columnNames, builder.getQueryAndParameters(), raw);
|
||||
mainAlias.name = name;
|
||||
const relationId = await new RelationIdLoader(builder.connection, this.queryRunner, builder.expressionMap.relationIdAttributes).load(raw);
|
||||
const relationCount = await new RelationCountLoader(builder.connection, this.queryRunner, builder.expressionMap.relationCountAttributes).load(raw);
|
||||
|
|
Loading…
Reference in New Issue