Skip to content

Commit

Permalink
suppress confusing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Mar 14, 2023
1 parent ccc71fc commit 04a2166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vfs-http-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const backendAsyncMethods:
return {
url: msg.url,
id: nextId++,
size: BigInt(head.headers.get('Content-Length')),
size: BigInt(head.headers.get('Content-Length') ?? 0),
// This will be determined on the first read
pageSize: null
};
Expand Down

0 comments on commit 04a2166

Please sign in to comment.