From 9df370e1eb88d60f8e777d424f983bdcde7c685f Mon Sep 17 00:00:00 2001 From: jackkav Date: Thu, 19 Sep 2024 12:55:59 +0200 Subject: [PATCH] fix cli --- packages/insomnia-inso/src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/insomnia-inso/src/cli.ts b/packages/insomnia-inso/src/cli.ts index 31f754b69de..f857f84146b 100644 --- a/packages/insomnia-inso/src/cli.ts +++ b/packages/insomnia-inso/src/cli.ts @@ -491,7 +491,7 @@ export const go = (args?: string[]) => { try { const iterationCount = parseInt(options.iterationCount, 10); - const iterationData = await pathToIterationData(options.iterationData); + const iterationData = options.iterationData ? await pathToIterationData(options.iterationData) : undefined; const sendRequest = await getSendRequestCallbackMemDb(environment._id, db, { validateSSL: !options.disableCertValidation }, iterationData, iterationCount); let success = true; for (let i = 0; i < iterationCount; i++) {