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
1 changed files with 2 additions and 1 deletions

View File

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