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

Commit 44609fe

Browse files
committed
fix: detect trickle correctly
1 parent 6058425 commit 44609fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/add/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = configure(({ ky }) => {
2626
if (options.rawLeaves != null) searchParams.set('raw-leaves', options.rawLeaves)
2727
if (options.shardSplitThreshold) searchParams.set('shard-split-threshold', options.shardSplitThreshold)
2828
if (options.silent) searchParams.set('silent', options.silent)
29-
if (options.trickle != null) searchParams.set('trickle', options.trickle)
29+
if (options.strategy === 'trickle') searchParams.set('trickle', true)
3030
if (options.wrapWithDirectory != null) searchParams.set('wrap-with-directory', options.wrapWithDirectory)
3131
if (options.preload !== null) searchParams.set('preload', options.preload)
3232

0 commit comments

Comments
 (0)