diff --git a/packages/utils/cli/src/scan/index.mjs b/packages/utils/cli/src/scan/index.mjs index 054e40de0..166227c73 100644 --- a/packages/utils/cli/src/scan/index.mjs +++ b/packages/utils/cli/src/scan/index.mjs @@ -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, } ), }