1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-05 10:18:34 +09:00

Merge pull request #1396 from akihikodaki/duplicate

Do not declare two variables in a statement
This commit is contained in:
syuilo 2018-04-05 01:09:18 +09:00 committed by GitHub
commit 9254966eb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,8 @@ export default async ({ data }, done) => {
return;
}
let follower, followee;
let follower;
let followee;
try {
[follower, followee] = await Promise.all([