Skip to content

Commit 7628c8f

Browse files
committed
fix: undefined options
1 parent 5f28b82 commit 7628c8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/browser/src/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const fetch = (url: string, options: LightpandaFetchOptions = defaultOpti
5757
try {
5858
const executablePath = getExecutablePath()
5959
const flags = [
60-
{ flag: `--dump ${dumpOptions.type ?? ''}`, condition: dump },
60+
{ flag: `--dump ${dumpOptions?.type ?? 'html'}`, condition: dump },
6161
{ flag: '--insecure_disable_tls_host_verification', condition: disableHostVerification },
6262
{ flag: '--obey_robots', condition: obeyRobots },
6363
{ flag: `--http_proxy ${httpProxy}`, condition: httpProxy },

0 commit comments

Comments
 (0)