Skip to content

Commit d3426be

Browse files
committed
fix lint
1 parent c2a1cb3 commit d3426be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node-core/src/integrations/http/httpServerSpansIntegration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ function getContentLength(headers: IncomingHttpHeaders): number | null {
344344
const contentLengthHeader = headers['content-length'];
345345
if (contentLengthHeader === undefined) return null;
346346

347-
const contentLength = parseInt(contentLengthHeader as string, 10);
347+
const contentLength = parseInt(contentLengthHeader, 10);
348348
if (isNaN(contentLength)) return null;
349349

350350
return contentLength;

0 commit comments

Comments
 (0)