diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /cli/js/web/blob.ts | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/js/web/blob.ts')
-rw-r--r-- | cli/js/web/blob.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/js/web/blob.ts b/cli/js/web/blob.ts index 92286029f..7034da723 100644 --- a/cli/js/web/blob.ts +++ b/cli/js/web/blob.ts @@ -51,7 +51,7 @@ function convertLineEndingsToNative(s: string): string { function collectSequenceNotCRLF( s: string, - position: number + position: number, ): { collected: string; newPosition: number } { const start = position; for ( @@ -64,7 +64,7 @@ function collectSequenceNotCRLF( function toUint8Arrays( blobParts: BlobPart[], - doNormalizeLineEndingsToNative: boolean + doNormalizeLineEndingsToNative: boolean, ): Uint8Array[] { const ret: Uint8Array[] = []; const enc = new TextEncoder(); @@ -103,7 +103,7 @@ function toUint8Arrays( function processBlobParts( blobParts: BlobPart[], - options: BlobPropertyBag + options: BlobPropertyBag, ): Uint8Array { const normalizeLineEndingsToNative = options.ending === "native"; // ArrayBuffer.transfer is not yet implemented in V8, so we just have to @@ -136,7 +136,7 @@ function getStream(blobBytes: Uint8Array): ReadableStream<ArrayBufferView> { } async function readBytes( - reader: ReadableStreamReader<ArrayBufferView> + reader: ReadableStreamReader<ArrayBufferView>, ): Promise<ArrayBuffer> { const chunks: Uint8Array[] = []; while (true) { |