Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit ff18517

Browse files
committed
fixup! chore(dag): replace custom dag walk with multiformats/traversal
1 parent a185000 commit ff18517

File tree

1 file changed

+1
-1
lines changed
  • packages/ipfs-core/src/components/dag

1 file changed

+1
-1
lines changed

packages/ipfs-core/src/components/dag/export.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function createExport ({ repo, preload, codecs }) {
6060
try {
6161
const load = makeLoader(repo, writer, { signal: options.signal, timeout: options.timeout }, codecs)
6262
await walk({ cid, load })
63-
writer.close()
63+
await writer.close()
6464
} catch (e) {
6565
err = e
6666
}

0 commit comments

Comments
 (0)