From 12651f9f85d77920cdf5218f17d9e566dc123a3e Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Thu, 7 Aug 2025 00:48:55 +0400 Subject: [PATCH] refactor: don't show options for camoufox list --- nodecar/src/camoufox-storage.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nodecar/src/camoufox-storage.ts b/nodecar/src/camoufox-storage.ts index 1bb86e7..931f50c 100644 --- a/nodecar/src/camoufox-storage.ts +++ b/nodecar/src/camoufox-storage.ts @@ -103,7 +103,11 @@ export function listCamoufoxConfigs(): CamoufoxConfig[] { return null; } }) - .filter((config): config is CamoufoxConfig => config !== null); + .filter((config): config is CamoufoxConfig => config !== null) + .map((config) => { + config.options = "Removed for logging" as any; + return config; + }); } catch (error) { console.error({ message: "Error listing Camoufox configs:", error }); return [];