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) --- std/textproto/mod.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'std/textproto/mod.ts') diff --git a/std/textproto/mod.ts b/std/textproto/mod.ts index 1d0d22715..b23ccee19 100644 --- a/std/textproto/mod.ts +++ b/std/textproto/mod.ts @@ -71,7 +71,7 @@ export class TextProtoReader { throw new Deno.errors.UnexpectedEof(); } else if (buf[0] == charCode(" ") || buf[0] == charCode("\t")) { throw new Deno.errors.InvalidData( - `malformed MIME header initial line: ${str(line)}` + `malformed MIME header initial line: ${str(line)}`, ); } @@ -84,7 +84,7 @@ export class TextProtoReader { let i = kv.indexOf(charCode(":")); if (i < 0) { throw new Deno.errors.InvalidData( - `malformed MIME header line: ${str(kv)}` + `malformed MIME header line: ${str(kv)}`, ); } @@ -110,7 +110,7 @@ export class TextProtoReader { } const value = str(kv.subarray(i)).replace( invalidHeaderCharRegex, - encodeURI + encodeURI, ); // In case of invalid header we swallow the error -- cgit v1.2.3