Skip to content

Commit

Permalink
fixup! revert whitespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamingr committed Jun 25, 2023
1 parent 134fb36 commit f38134b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/internal/streams/writable.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,15 +667,15 @@ Writable.prototype.end = function(chunk, encoding, cb) {

function needFinish(state) {
return (state.ending &&
!state.destroyed &&
state.constructed &&
state.length === 0 &&
!state.errored &&
state.buffered.length === 0 &&
!state.finished &&
!state.writing &&
!state.errorEmitted &&
!state.closeEmitted);
!state.destroyed &&
state.constructed &&
state.length === 0 &&
!state.errored &&
state.buffered.length === 0 &&
!state.finished &&
!state.writing &&
!state.errorEmitted &&
!state.closeEmitted);
}

function callFinal(stream, state) {
Expand Down

0 comments on commit f38134b

Please sign in to comment.