From 5f1b7391fd4140bf4828d8d8c663a9cf8380f0d5 Mon Sep 17 00:00:00 2001 From: Tomasz Misiukiewicz Date: Fri, 22 Sep 2023 12:53:37 +0200 Subject: [PATCH] don't run check for config command --- packages/cli-config/src/loadConfig.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/cli-config/src/loadConfig.ts b/packages/cli-config/src/loadConfig.ts index d252325cf..66af3d4bf 100644 --- a/packages/cli-config/src/loadConfig.ts +++ b/packages/cli-config/src/loadConfig.ts @@ -119,7 +119,10 @@ async function loadConfig( const dependencyMap = findDependencies(projectRoot); let dependencies = Array.from(dependencyMap.keys()); - if (userConfig.unstable_autolinkPeerDependencies) { + if ( + userConfig.unstable_autolinkPeerDependencies && + !process.argv.includes('config') + ) { const installedDependencies = await resolveTransitiveDeps( projectRoot, dependencyMap,