From 4462951794f28918a4af8244439cd7a5c9c70c7f Mon Sep 17 00:00:00 2001 From: manuc66 Date: Wed, 22 Mar 2023 20:45:04 +0100 Subject: [PATCH] Fix parent directory parameter #644 --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 4504f635..21f2535a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -281,7 +281,7 @@ async function main() { const deviceUpPollingInterval = getDeviceUpPollingInterval(parentOption); - const scanConfig = getScanConfiguration(parentOption); + const scanConfig = getScanConfiguration(options); await listenCmd(registrationConfig, scanConfig, deviceUpPollingInterval); }); @@ -327,7 +327,7 @@ async function main() { const deviceUpPollingInterval = getDeviceUpPollingInterval(parentOption); - const scanConfig = getScanConfiguration(parentOption); + const scanConfig = getScanConfiguration(options); const adfScanConfig: AdfAutoScanConfig = { ...scanConfig,