diff --git a/packages/octocat/src/lib/structures/ReadmeSync.ts b/packages/octocat/src/lib/structures/ReadmeSync.ts index 0108c10b..7d4f0788 100644 --- a/packages/octocat/src/lib/structures/ReadmeSync.ts +++ b/packages/octocat/src/lib/structures/ReadmeSync.ts @@ -73,8 +73,8 @@ export class ReadmeSync { try { const parsedToml = parse(toml); - const mergedConfig = _.merge(parsedToml, baseConfig); - if (typeof parsedToml.repo === "object") mergedConfig.repo = { ...baseConfig.repo, ...parsedToml.repo }; + const mergedConfig = _.merge(baseConfig, parsedToml); + // if (typeof parsedToml.repo === "object") mergedConfig.repo = { ...baseConfig.repo, ...parsedToml.repo }; const zodSchema = z.object({ repo: z.object({