From cde4dbb35132848ffece59ef9cfaccff32347124 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 14 Jul 2020 15:24:17 -0400 Subject: Use dprint for internal formatting (#6682) --- cli/js/web/streams/writable_stream.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cli/js/web/streams/writable_stream.ts') diff --git a/cli/js/web/streams/writable_stream.ts b/cli/js/web/streams/writable_stream.ts index 2dea5311b..94bedb941 100644 --- a/cli/js/web/streams/writable_stream.ts +++ b/cli/js/web/streams/writable_stream.ts @@ -36,7 +36,7 @@ export class WritableStreamImpl implements WritableStream { constructor( underlyingSink: UnderlyingSink = {}, - strategy: QueuingStrategy = {} + strategy: QueuingStrategy = {}, ) { initializeWritableStream(this); const size = strategy.size; @@ -51,7 +51,7 @@ export class WritableStreamImpl implements WritableStream { this, underlyingSink, highWaterMark, - sizeAlgorithm + sizeAlgorithm, ); } @@ -69,7 +69,7 @@ export class WritableStreamImpl implements WritableStream { } if (isWritableStreamLocked(this)) { return Promise.reject( - new TypeError("Cannot abort a locked WritableStream.") + new TypeError("Cannot abort a locked WritableStream."), ); } return writableStreamAbort(this, reason); @@ -81,12 +81,12 @@ export class WritableStreamImpl implements WritableStream { } if (isWritableStreamLocked(this)) { return Promise.reject( - new TypeError("Cannot abort a locked WritableStream.") + new TypeError("Cannot abort a locked WritableStream."), ); } if (writableStreamCloseQueuedOrInFlight(this)) { return Promise.reject( - new TypeError("Cannot close an already closing WritableStream.") + new TypeError("Cannot close an already closing WritableStream."), ); } return writableStreamClose(this); -- cgit v1.2.3