Skip to content

Commit

Permalink
don't run check for config command
Browse files Browse the repository at this point in the history
  • Loading branch information
TMisiukiewicz committed Sep 22, 2023
1 parent 26f262e commit 5f1b739
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/cli-config/src/loadConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5f1b739

Please sign in to comment.