Skip to content

Commit

Permalink
Small Suggestion Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsmedley committed Jul 22, 2024
1 parent 927558e commit 48d97fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/car/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class DefaultCar implements Car {
void queue.add(async () => {
await this.#walkDag(root, queue, async (cid, bytes) => {
// check if duplicate blocks should be skipped
if (options.blockFilter != null) {
if (options?.blockFilter != null) {
// skip blocks that have already been written
if (options.blockFilter.has(cid.toString())) {
return
Expand Down

0 comments on commit 48d97fa

Please sign in to comment.