Skip to content

Commit

Permalink
fix(#157): clone default config
Browse files Browse the repository at this point in the history
  • Loading branch information
jannis-baum committed Aug 5, 2024
1 parent 2df370a commit 4b09a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 4b09a65

Please sign in to comment.