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

Commit

Permalink
fix: use non-strict equivalence for options.preload (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored Oct 23, 2019
1 parent 2d8361a commit 432e1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/add/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = configure(({ ky }) => {
if (options.silent) searchParams.set('silent', options.silent)
if (options.trickle != null) searchParams.set('trickle', options.trickle)
if (options.wrapWithDirectory != null) searchParams.set('wrap-with-directory', options.wrapWithDirectory)
if (options.preload !== null) searchParams.set('preload', options.preload)
if (options.preload != null) searchParams.set('preload', options.preload)

const res = await ky.post('add', {
timeout: options.timeout,
Expand Down

0 comments on commit 432e1e8

Please sign in to comment.