From 4b09a65222fa54c080dcd7685b7ae6bc3847d9ab Mon Sep 17 00:00:00 2001 From: Jannis Baum Date: Mon, 5 Aug 2024 16:37:46 +0200 Subject: [PATCH] fix(#157): clone default config --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index acea939b..a250515c 100644 --- a/src/config.ts +++ b/src/config.ts @@ -68,7 +68,7 @@ const config = ((): Config => { } // revert to default config if no config found - config = config ?? defaultConfig; + config = config ?? structuredClone(defaultConfig); for (const key of configFileBlocked) { delete config[key];