From 9706dba9798356182351918d4d3c0711dc36e623 Mon Sep 17 00:00:00 2001 From: Fede Barcelona Date: Mon, 16 Dec 2024 11:40:12 +0100 Subject: [PATCH] fix: reuse parent process env vars (#64) --- src/scanner.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/scanner.ts b/src/scanner.ts index 8557f9d..60a2a24 100644 --- a/src/scanner.ts +++ b/src/scanner.ts @@ -61,7 +61,12 @@ export async function executeScan(scanFlags: ComposeFlags): Promise [key, value ?? ""]) + ), + ...envvars, + }, silent: true, ignoreReturnCode: true, listeners: {