Skip to content

Commit 3979262

Browse files
authored
Add common-versions.json file in potentially changed file list.
1 parent a420d74 commit 3979262

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/rush-lib/src/logic/InstallManager.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,10 @@ export class InstallManager {
860860
// Additionally, if they pulled an updated npm-shrinkwrap.json file from Git,
861861
// then we can't skip this install
862862
potentiallyChangedFiles.push(this._rushConfiguration.getCommittedShrinkwrapFilename(options.variant));
863-
863+
864+
// Add common-versions.json file in potentially changed file list.
865+
potentiallyChangedFiles.push(this._rushConfiguration.getCommonVersionsFilePath(options.variant));
866+
864867
if (this._rushConfiguration.packageManager === 'pnpm') {
865868
// If the repo is using pnpmfile.js, consider that also
866869
const pnpmFileFilename: string = this._rushConfiguration.getPnpmfilePath(options.variant);

0 commit comments

Comments
 (0)