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

Commit 432e1e8

Browse files
authored
fix: use non-strict equivalence for options.preload (#1134)
1 parent 2d8361a commit 432e1e8

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
@@ -28,7 +28,7 @@ module.exports = configure(({ ky }) => {
2828
if (options.silent) searchParams.set('silent', options.silent)
2929
if (options.trickle != null) searchParams.set('trickle', options.trickle)
3030
if (options.wrapWithDirectory != null) searchParams.set('wrap-with-directory', options.wrapWithDirectory)
31-
if (options.preload !== null) searchParams.set('preload', options.preload)
31+
if (options.preload != null) searchParams.set('preload', options.preload)
3232

3333
const res = await ky.post('add', {
3434
timeout: options.timeout,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy