Skip to content

Commit

Permalink
fix(cli-utils): merging configs
Browse files Browse the repository at this point in the history
  • Loading branch information
andresin87 committed Jun 19, 2024
1 parent d5ea2c0 commit 543b3e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/utils/cli/src/scan/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ export async function adoption(options) {

config = {
adoption: merge(
{ ...defaultConfig },
{ ...config.adoption },
{
...optionsConfig.adoption,
imports: optionsConfig.imports || defaultConfig.imports,
extensions: optionsConfig.extensions || defaultConfig.extensions,
imports: optionsConfig.imports || config.imports,
extensions: optionsConfig.extensions || config.extensions,
}
),
}
Expand Down

0 comments on commit 543b3e8

Please sign in to comment.