Skip to content

Commit

Permalink
Update packages/cli/src/checks/INTERNAL_MISMATCH.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
  • Loading branch information
KATT and Andarist committed Jan 12, 2024
1 parent 23428b3 commit 958f750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/checks/INTERNAL_MISMATCH.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default makeCheck<ErrorType>({

if (
dependencyWorkspace !== undefined &&
!semver.satisfies(dependencyWorkspace.packageJson.version, range) &&
!range.startsWith("npm:")
!range.startsWith("npm:") &&
!semver.satisfies(dependencyWorkspace.packageJson.version, range)
) {
errors.push({
type: "INTERNAL_MISMATCH",
Expand Down

0 comments on commit 958f750

Please sign in to comment.