Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 2a8cf65

Browse files
committed
fix: initialise progress as noop
License: MIT Signed-off-by: achingbrain <[email protected]>
1 parent a6c7294 commit 2a8cf65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/write.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const defaultOptions = {
4646
hashAlg: 'sha2-256',
4747
format: 'dag-pb',
4848
parents: false, // whether to create intermediate directories if they do not exist
49-
progress: undefined,
49+
progress: () => {},
5050
strategy: 'trickle',
5151
flush: true,
5252
leafType: 'raw',

0 commit comments

Comments
 (0)