diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-04-05 01:09:18 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-05 01:09:18 +0900 |
| commit | 9254966eb3e4d32d799d2a784854117232f88d61 (patch) | |
| tree | a3dcb96a8330257618c0122ee34e79e2acb06e02 /src/queue | |
| parent | Merge pull request #1395 from akihikodaki/duplicate (diff) | |
| parent | Do not declare two variables in a statement (diff) | |
| download | sharkey-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.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([ |