summaryrefslogtreecommitdiff
path: root/src/queue/processors/http
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-05 01:07:55 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-05 01:07:55 +0900
commita5715ecc1b73d3e3a950c392fa3a466dee810248 (patch)
treedff487595dfd838a4e69b46b15c506756323e9be /src/queue/processors/http
parentLet unhandled rejection handler handle rejections in jobs (diff)
downloadsharkey-a5715ecc1b73d3e3a950c392fa3a466dee810248.tar.gz
sharkey-a5715ecc1b73d3e3a950c392fa3a466dee810248.tar.bz2
sharkey-a5715ecc1b73d3e3a950c392fa3a466dee810248.zip
Do not declare two variables in a statement
Diffstat (limited to 'src/queue/processors/http')
-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([