chore: Reduce unnecessary variable declarations (#1298)
This commit is contained in:
parent
ad91ce2346
commit
b15115b2cb
1 changed files with 1 additions and 1 deletions
|
@ -200,9 +200,9 @@ function respond(ctx) {
|
||||||
// allow bypassing koa
|
// allow bypassing koa
|
||||||
if (false === ctx.respond) return;
|
if (false === ctx.respond) return;
|
||||||
|
|
||||||
const res = ctx.res;
|
|
||||||
if (!ctx.writable) return;
|
if (!ctx.writable) return;
|
||||||
|
|
||||||
|
const res = ctx.res;
|
||||||
let body = ctx.body;
|
let body = ctx.body;
|
||||||
const code = ctx.status;
|
const code = ctx.status;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue