Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
update error msg for dependency version check
Browse files Browse the repository at this point in the history
  • Loading branch information
xianny committed Feb 5, 2019
1 parent 703aa38 commit 09a5b6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/monorepo-scripts/src/deps_versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ if (require.main === module) {
utils.log(`├── ${chalk.bold('IGNORED')}`);
printVersionsByDependency(ignoredMultiples);
if (Object.keys(multiples).length !== 0) {
utils.log(`Add space-separated exceptions to root package.json config.ignoreDependencyVersions`);
utils.log(
`Some dependencies have multiple versions. Please fix by trying to find compatible versions. As a last resort, you can add space-separated exceptions to root package.json config.ignoreDependencyVersions`,
);
process.exit(1);
}
}
Expand Down

0 comments on commit 09a5b6e

Please sign in to comment.