Skip to content

Commit 210cbeb

Browse files
author
Matt Carroll
committed
Keep no-empty rule, add comment
1 parent 8c633bb commit 210cbeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/datafile-manager/src/nodeRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ function createHeadersFromNodeIncomingMessage(incomingMessage: http.IncomingMess
4747
const headerValue = incomingMessage.headers[headerName];
4848
if (typeof headerValue === 'string') {
4949
headers[headerName] = headerValue;
50-
// eslint-disable-next-line no-empty
5150
} else if (typeof headerValue === 'undefined') {
51+
// no value provided for this header
5252
} else {
5353
// array
5454
if (headerValue.length > 0) {

0 commit comments

Comments
 (0)