Skip to content

Commit

Permalink
fix(docz-core): extend base config instead of overwriting user config (
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger authored and rakannimer committed Aug 27, 2019
1 parent c5cd14d commit 7b46c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/docz-core/src/config/docz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const getBaseConfig = (
custom?: Partial<Config>
): Config => {
const initial = omit<Arguments<Argv>, any>(toOmit, argv)
const base = { ...initial, ...doczRcBaseConfig, paths }
const base = { ...doczRcBaseConfig, ...initial, paths }
return merge(base, custom) as Config
}

Expand Down

0 comments on commit 7b46c2b

Please sign in to comment.