Skip to content

Commit 702a0fe

Browse files
committed
Fix the issue with accessing the shouldEnsureConsistentVersions method.
1 parent 7aa7b9f commit 702a0fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/rush-lib/src/cli/actions/VersionAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class VersionAction extends BaseRushAction {
216216
// Validate result of all subspaces
217217
for (const subspace of rushConfig.subspaces) {
218218
// Respect the `ensureConsistentVersions` field in rush.json
219-
if (!subspace.shouldEnsureConsistentVersions) {
219+
if (!subspace.shouldEnsureConsistentVersions(variant)) {
220220
return;
221221
}
222222

0 commit comments

Comments
 (0)