diff options
| author | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-04-05 01:07:55 +0900 |
|---|---|---|
| committer | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-04-05 01:07:55 +0900 |
| commit | a5715ecc1b73d3e3a950c392fa3a466dee810248 (patch) | |
| tree | dff487595dfd838a4e69b46b15c506756323e9be /src/queue/processors/http | |
| parent | Let unhandled rejection handler handle rejections in jobs (diff) | |
| download | sharkey-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.ts | 3 |
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([ |