Skip to content

Commit f896523

Browse files
committed
Make linter happy.
1 parent 02abe0c commit f896523

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/helper.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ export function runHandler(
7878

7979
const toSend = typeof sendBody === "object" ? JSON.stringify(sendBody) : sendBody;
8080
const body =
81-
typeof this.sentBody === "undefined"
82-
? toSend
83-
: this.sentBody + String(toSend || "");
81+
typeof this.sentBody === "undefined" ? toSend : this.sentBody + String(toSend || "");
8482
this.end(body);
8583
}
8684

0 commit comments

Comments
 (0)