Skip to content

Commit

Permalink
collection: wait for fs writes on delver imports
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Feb 3, 2024
1 parent 67ee0d8 commit ab4a042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class Collection {
for (const card of cards) {
card.collection = this.folder
card.metadata = await metadata.query(card)
filesystem.write(card)
await filesystem.write(card)
}

await this.set(this.folder, true)
Expand Down

0 comments on commit ab4a042

Please sign in to comment.