summaryrefslogtreecommitdiff
path: root/textproto/mod.ts
diff options
context:
space:
mode:
authorAxetroy <axetroy.dev@gmail.com>2019-06-19 12:22:01 +0800
committerRyan Dahl <ry@tinyclouds.org>2019-06-18 21:22:01 -0700
commitc85b1c06a9804ad41fbccf8fe5a5689f28eb049e (patch)
treee855fc7c02baaa219aa81a2a54a69b19c1fb3716 /textproto/mod.ts
parentd6e92582cc2267210f71e893b14672783301f87b (diff)
lint: add max line length rules (denoland/deno_std#507)
Original: https://github.com/denoland/deno_std/commit/b04fda30c8949b6347094b898bfa427c0b9a6162
Diffstat (limited to 'textproto/mod.ts')
-rw-r--r--textproto/mod.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproto/mod.ts b/textproto/mod.ts
index 6c4e42e51..419a57b68 100644
--- a/textproto/mod.ts
+++ b/textproto/mod.ts
@@ -106,8 +106,10 @@ export class TextProtoReader {
//let key = canonicalMIMEHeaderKey(kv.subarray(0, endKey));
let key = str(kv.subarray(0, endKey));
- // As per RFC 7230 field-name is a token, tokens consist of one or more chars.
- // We could return a ProtocolError here, but better to be liberal in what we
+ // As per RFC 7230 field-name is a token,
+ // tokens consist of one or more chars.
+ // We could return a ProtocolError here,
+ // but better to be liberal in what we
// accept, so if we get an empty key, skip it.
if (key == "") {
continue;