From a3283c71ef3d858a00f6c69ee572642b0bd7fbfa Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 10 May 2020 17:25:16 +0900 Subject: chore(lint): Add missing semicolons --- src/misc/count-same-renotes.ts | 4 ++-- src/misc/reaction-lib.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/misc') diff --git a/src/misc/count-same-renotes.ts b/src/misc/count-same-renotes.ts index 0233bdf88e..bc1072080a 100644 --- a/src/misc/count-same-renotes.ts +++ b/src/misc/count-same-renotes.ts @@ -4,11 +4,11 @@ export async function countSameRenotes(userId: string, renoteId: string, exclude // 指定したユーザーの指定したノートのリノートがいくつあるか数える const query = Notes.createQueryBuilder('note') .where('note.userId = :userId', { userId }) - .andWhere('note.renoteId = :renoteId', { renoteId }) + .andWhere('note.renoteId = :renoteId', { renoteId }); // 指定した投稿を除く if (excludeNoteId) { - query.andWhere('note.id != :excludeNoteId', { excludeNoteId }) + query.andWhere('note.id != :excludeNoteId', { excludeNoteId }); } return await query.getCount(); diff --git a/src/misc/reaction-lib.ts b/src/misc/reaction-lib.ts index e9a9d4f7c9..b393154d9c 100644 --- a/src/misc/reaction-lib.ts +++ b/src/misc/reaction-lib.ts @@ -78,7 +78,7 @@ export async function toDbReaction(reaction?: string | null, reacterHost?: strin name, }); - if (emoji) return reacterHost ? `:${name}@${reacterHost}:` : `:${name}:` + if (emoji) return reacterHost ? `:${name}@${reacterHost}:` : `:${name}:`; } return await getFallbackReaction(); -- cgit v1.2.3-freya