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

Commit

Permalink
fix: initialise progress as noop
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: achingbrain <alex@achingbrain.net>
  • Loading branch information
achingbrain committed Jan 4, 2019
1 parent a6c7294 commit 2a8cf65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/write.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const defaultOptions = {
hashAlg: 'sha2-256',
format: 'dag-pb',
parents: false, // whether to create intermediate directories if they do not exist
progress: undefined,
progress: () => {},
strategy: 'trickle',
flush: true,
leafType: 'raw',
Expand Down

0 comments on commit 2a8cf65

Please sign in to comment.