Skip to content

Commit 5eb848f

Browse files
committed
fixup! format
1 parent d691697 commit 5eb848f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/open-next/src/http/openNextResponse.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ export class OpenNextNodeResponse extends Transform implements ServerResponse {
8282
}
8383

8484
get finished() {
85-
return this.writableFinished && (this.responseStream?.writableFinished ?? true);
85+
return this.responseStream
86+
? this.responseStream?.writableFinished
87+
: this.writableFinished;
8688
}
8789

8890
setHeader(name: string, value: string | string[]): this {

0 commit comments

Comments
 (0)