summaryrefslogtreecommitdiff
path: root/src/queue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-04-05 01:09:18 +0900
committerGitHub <noreply@github.com>2018-04-05 01:09:18 +0900
commit9254966eb3e4d32d799d2a784854117232f88d61 (patch)
treea3dcb96a8330257618c0122ee34e79e2acb06e02 /src/queue
parentMerge pull request #1395 from akihikodaki/duplicate (diff)
parentDo not declare two variables in a statement (diff)
downloadsharkey-9254966eb3e4d32d799d2a784854117232f88d61.tar.gz
sharkey-9254966eb3e4d32d799d2a784854117232f88d61.tar.bz2
sharkey-9254966eb3e4d32d799d2a784854117232f88d61.zip
Merge pull request #1396 from akihikodaki/duplicate
Do not declare two variables in a statement
Diffstat (limited to 'src/queue')
-rw-r--r--src/queue/processors/http/unfollow.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/queue/processors/http/unfollow.ts b/src/queue/processors/http/unfollow.ts
index dc50e946c9..d62eb280dc 100644
--- a/src/queue/processors/http/unfollow.ts
+++ b/src/queue/processors/http/unfollow.ts
@@ -15,7 +15,8 @@ export default async ({ data }, done) => {
return;
}
- let follower, followee;
+ let follower;
+ let followee;
try {
[follower, followee] = await Promise.all([