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 {
406
406
}
407
407
if (constraint is VersionRange ) {
408
408
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;
411
411
}
412
412
return false ;
413
413
}
414
+
414
415
var isDirectOrDev = false ;
415
416
for (final workspace in workspaces) {
416
417
final directDep = workspace.dependencies[packageName];
417
- if (directDep != null && constraintContainsPrerelease (directDep.constraint)) {
418
+ if (directDep != null &&
419
+ constraintContainsPrerelease (directDep.constraint)) {
418
420
return true ;
419
421
}
420
422
final devDep = workspace.devDependencies[packageName];
You can’t perform that action at this time.
0 commit comments