Skip to content

Commit d0ee7d8

Browse files
authored
style: remove trailing whitespace (#171)
1 parent b950e70 commit d0ee7d8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Busboy methods
264264

265265
* **Busboy expected an options-Object with headers-attribute.** - The first parameter is lacking of a headers-attribute.
266266

267-
* **Limit $limit is not a valid number** - Busboy expected the desired limit to be of type number. Busboy throws this Error to prevent a potential security issue by falling silently back to the Busboy-defaults. Potential source for this Error can be the direct use of environment variables without transforming them to the type number.
267+
* **Limit $limit is not a valid number** - Busboy expected the desired limit to be of type number. Busboy throws this Error to prevent a potential security issue by falling silently back to the Busboy-defaults. Potential source for this Error can be the direct use of environment variables without transforming them to the type number.
268268

269269
* **Unsupported Content-Type.** - The `Content-Type` isn't one Busboy can parse.
270270

lib/main.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ export interface BusboyConfig {
3333
defCharset?: string | undefined;
3434
/**
3535
* Detect if a Part is a file.
36-
*
37-
* By default a file is detected if contentType
36+
*
37+
* By default a file is detected if contentType
3838
* is application/octet-stream or fileName is not
3939
* undefined.
40-
*
40+
*
4141
* Modify this to handle e.g. Blobs.
4242
*/
4343
isPartAFile?: (fieldName: string | undefined, contentType: string | undefined, fileName: string | undefined) => boolean;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
{"content-disposition": ["form-data; name=\"files\""],
1+
{"content-disposition": ["form-data; name=\"files\""],
22
"content-type": ["multipart/mixed, boundary=BbC04y"]}

test/fixtures/nested/part2.header

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
{"content-disposition": ["form-data; name=\"files\""],
1+
{"content-disposition": ["form-data; name=\"files\""],
22
"content-type": ["multipart/mixed, boundary=BbC04y"]}

0 commit comments

Comments
 (0)