File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -406,15 +406,17 @@ class VersionSolver {
406406 }
407407 if (constraint is VersionRange ) {
408408 return (constraint.min != null && constraint.min! .isPreRelease) ||
409- (constraint.max != null && constraint.max! .isPreRelease) ||
410- constraint.isAny;
409+ (constraint.max != null && constraint.max! .isPreRelease) ||
410+ constraint.isAny;
411411 }
412412 return false ;
413413 }
414+
414415 var isDirectOrDev = false ;
415416 for (final workspace in workspaces) {
416417 final directDep = workspace.dependencies[packageName];
417- if (directDep != null && constraintContainsPrerelease (directDep.constraint)) {
418+ if (directDep != null &&
419+ constraintContainsPrerelease (directDep.constraint)) {
418420 return true ;
419421 }
420422 final devDep = workspace.devDependencies[packageName];
You can’t perform that action at this time.
0 commit comments