diff --git a/packages/schematics/update/update/index.ts b/packages/schematics/update/update/index.ts index cb989c7d2c96..92ab613d0097 100644 --- a/packages/schematics/update/update/index.ts +++ b/packages/schematics/update/update/index.ts @@ -120,12 +120,12 @@ function _validateForwardPeerDependencies( logger.debug(`Checking forward peer ${peer}...`); const maybePeerInfo = infoMap.get(peer); if (!maybePeerInfo) { - logger.error([ + logger.warn([ `Package ${JSON.stringify(name)} has a missing peer dependency of`, `${JSON.stringify(peer)} @ ${JSON.stringify(range)}.`, ].join(' ')); - return true; + return false; } const peerVersion = maybePeerInfo.target && maybePeerInfo.target.packageJson.version