Skip to content

Commit

Permalink
chore: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Feb 21, 2024
1 parent 1dded04 commit 85e7825
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/car/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ class DefaultCar implements Car {
const { writer, out } = CarWriter.create(root)
let exportError: Error | undefined

// has to be done async so we write to `writer` and read from `out` at the
// same time
this.export(root, writer, options)
.catch((err) => {
exportError = err

Check warning on line 215 in packages/car/src/index.ts

View check run for this annotation

Codecov / codecov/patch

packages/car/src/index.ts#L215

Added line #L215 was not covered by tests
Expand Down

0 comments on commit 85e7825

Please sign in to comment.